Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Charts in A5?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Charts in A5?

    that makes it difficult for the distribution- always depending of the version of the active X elements.


    Regards Ralf.

    Comment


      #17
      Re: Charts in A5?

      Originally posted by Ralf View Post
      that makes it difficult for the distribution- always depending of the version of the active X elements.


      Regards Ralf.
      Not necessary. As I said above. There is a function in the Learning XDialog example. GetChartObjectName() This function investigates the MSOffice version.

      Code:
      'Date Created: 20-Jan-2004 03:21:02 PM
      'Last Updated: 20-Jan-2004 03:21:02 PM
      'Created By  : 
      'Updated By  : 
      FUNCTION GetChartObjectName AS C ( )
      'DESCRIPTION:Returns the name of the Graph ActiveX control installed by Microsoft Office. This component has a different name, depending on which version of Office is installed.
      'LIMITATIONS:X 
      Dim OfficeXPCode as C 
      Dim Office2000Code as C 
      Dim Office2003Code as C 
      Dim WI as P 
      Dim ProductList as p 
      Dim i as N 
      Dim CurrentProduct as  C
      Dim InstalledOffice as C 
      Dim Flag as L 
      InstalledOffice = ""
      OfficeXPCode = "6000-11D3-8CFE-0050048383C9"
      Office2000Code = "78E1-11D2-B60F-006097C998E7"
      Office2003Code = "6000-11D3-8CFE-0150048383C9"
       
      WI = ole.create("WindowsInstaller.Installer")
      ProductList = WI.Products()
       
      for i = 0 to ProductList.Count()-1
              CurrentProduct = ProductList.Item(i)    
              if substr(CurrentProduct,11,27) = OfficeXPCode then 
              InstalledOffice = "Office XP family" 
              else if substr(CurrentProduct,11,27) = Office2000Code then 
              InstalledOffice = "Office 2000 family"          
              else if substr(CurrentProduct,11,27) = Office2003Code then
              InstalledOffice = "Office 2003 family" 
              end if 
       
              if InstalledOffice <> "" then 
                      exit for
              end if 
      next 
       
      if InstalledOffice = "Office XP family" .or. InstalledOffice = "Office 2003 family"  then 
              GetChartObjectName = "owc10.chartspace"
      else if InstalledOffice = "Office 2000 family" then 
              GetChartObjectName = "owc.chart"
      else 
              GetChartObjectName = ""
      end if 
       
      END FUNCTION
      Marcel

      I hear and I forget. I see and I remember. I do and I understand.
      ---- Confusius ----

      Comment


        #18
        Re: Charts in A5?

        yes, I know, but these function ( GetChartObjectName() ) not run's under MS Vista. The examples for Active X also not run under Vista, and they are not editable. (esp. under my MS Vista system)

        Regards Ralf.
        Last edited by Ralf; 09-08-2007, 02:11 AM.

        Comment


          #19
          Re: Charts in A5?

          Originally posted by Ralf View Post
          yes, I know, but these function ( GetChartObjectName() ) not run's under MS Vista. The examples for Active X also not run under Vista, and they are not editable. (esp. under my MS Vista system)

          Regards Ralf.
          Ralf, do you get error messages when you run this code on Vista? Does it say why it cannot be used or what the code is trying to do? Is it a privillige problem?
          Marcel

          I hear and I forget. I see and I remember. I do and I understand.
          ---- Confusius ----

          Comment


            #20
            Re: Charts in A5?

            in the Sourde code is the definition owc10.chartspace.10, maybe i have to change it all to owc11.chartspace.11, that to much work for to adapt into the ms vista mode. esp. than my other work lay down. Maybe the Alpha5 department should bring a ms vista version for these examples.

            the error that appear is :


            Script:OnInit line:58
            Chart = Graph.Charts.Add()
            Property not found
            Graph.Charts subelement not found.
            The system can't also not load the ax.dbf, they said, that's not a correct dbf file format. (see screenshot)

            Regards Ralf
            Last edited by Ralf; 09-08-2007, 08:02 AM.

            Comment


              #21
              Re: Charts in A5?

              Ralf,

              By accident I found a chart program called RMChart. It was part of thinBasic a new basic language. The chart program is free and can be downloaded here. It comes in two flavours: DLL and ActiveX. There is a chart designer that generates VB6, PowerBasic and .Net code. The VB code can be translated into Xbasic.

              For a headstart I translated the simplebar.rmc into a Xbasic ActiveX example. The VB6 code is . The A5 database example is . The Xbasic translation is .

              Not all is working properly. The gradient style doesn't work. The colors that the A5 colorpicker produce must be switched from RGB in to BGR. I don't know who's fault it is. RMChart or Alpha.

              There is also a dll version. Users with an olders Alpha Five version which doesn't support ActiveX can use the dll in combination the UDC (The clock example ;)).

              Unnecessary to tell that you fisrt must install the RMChart software before you can run the example in de database.

              Have a nice time.

              The example on an A5 form.
              Marcel

              I hear and I forget. I see and I remember. I do and I understand.
              ---- Confusius ----

              Comment


                #22
                Re: Charts in A5?

                Hi Marcel,


                very interessting, thx for these informations. I will try it out and will give my responce, as soon as possible.(maybe it takes a little bit of time).


                The VB code can be translated into Xbasic.
                how?



                Regards Ralf.

                Comment


                  #23
                  Re: Charts in A5?

                  Originally posted by Ralf View Post
                  Hi Marcel,


                  very interessting, thx for these informations. I will try it out and will give my responce, as soon as possible.(maybe it takes a little bit of time).

                  how?

                  Regards Ralf.
                  Ralf has to do that :D. I've posted a VB6 example and a translation into Xbasic. If you take the VB6 example and take a good look how it is translated into Xbasic, you can do the other examples. But even for me it took me a whole day to get it working. The reading of the help files took the most of the time. They are really good.
                  Marcel

                  I hear and I forget. I see and I remember. I do and I understand.
                  ---- Confusius ----

                  Comment


                    #24
                    Re: Charts in A5?

                    Is there any reason why everyone is shying away from using SimpleChart? Just curious.
                    Bill Griffin
                    Parkell, Inc

                    Comment


                      #25
                      Re: Charts in A5?

                      Originally posted by Bill Griffin View Post
                      Is there any reason why everyone is shying away from using SimpleChart? Just curious.
                      Bill, for me there is no reason. Just came along this package and thought, nice stuff, lets look at it.
                      Marcel

                      I hear and I forget. I see and I remember. I do and I understand.
                      ---- Confusius ----

                      Comment


                        #26
                        Re: Charts in A5?

                        Thanks. I have had pretty good luck using Simplechart but am always willing to look at anything new. I will take a look at it this week...
                        Bill Griffin
                        Parkell, Inc

                        Comment


                          #27
                          Re: Charts in A5?

                          Originally posted by Bill Griffin View Post
                          Is there any reason why everyone is shying away from using SimpleChart? Just curious.
                          There nothing curious.

                          Why, is it up to you, to determine, which tool I use? I use the most effective chart software, that I need, and so I'm looking around.
                          Last edited by Ralf; 09-10-2007, 11:12 AM.

                          Comment


                            #28
                            Re: Charts in A5?

                            Originally posted by Ralf View Post
                            Why, is it up to you, to determine, which tool I use? These simple chart is difficult to use, for runtime versions, because you have to buy an additional software.
                            Ralf,

                            I was just CURIOUS as to why Simplechart was not mentioned. No, it is not up to me to determine which tool you use. It is up to me which tools I use and I am always looking for new things to use. (see my replay to Marcel?) I did not realize that anyone could ever take offense to such a simple question.

                            Bill
                            Bill Griffin
                            Parkell, Inc

                            Comment


                              #29
                              Re: Charts in A5?

                              Yes of course, but look at #3- I need to distribute the software, that means the active x elements have to bee also on other machines, mostly the people habe MS Office, and the Active X files for that. So its better I use a ActiveX element that is common distributed.
                              Last edited by Ralf; 09-10-2007, 11:26 AM.

                              Comment


                                #30
                                Re: Charts in A5?

                                Originally posted by Ralf View Post
                                Yes of course, but look at #3-
                                Not sure what that means. I do not see any specific reference to Simplechart in this thread. No need for an explanation. I have the info I need to determine what I will use.
                                Bill Griffin
                                Parkell, Inc

                                Comment

                                Working...
                                X