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

Make an exe to run alpha app

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

  • #16
    Re: Make an exe to run alpha app

    This exe works just fine as tested in win8.

    Just a note:
    Since you can download Visual Studio Express 2012 for free, I will soon redo this whole thing in VS. and submit the code needed here so anybody can make it their own way.

    Using VB6 and alpha runtime in program files with the startup exe also there:
    Code:
    Private Sub Form_Load()
    Dim tpath
    tpath = CurDir + "\alda.exe "
    tpath = tpath + "c:\alda\upsserver10\sales.adb " + " -NOMINMAX" + " -NOSYSMENU" + " -NOSPLASH" + " NODEBUG" + " -NODBCHECK"
    
    tpath = tpath + " -TITLE=UpsLog Vers. 11.225 by ALDA Consulting 352-302-2015"
    tpath = tpath + " -ICON=" + "c:\alda\racecar.ico"
    c = Shell(tpath, 3)
    End
    End Sub
    Note: so no one gets confused, I changed alpha5.exe to alda.exe
    Last edited by DaveM; 01-27-2013, 09:29 PM.
    Dave Mason
    dave@aldadesktop.com
    Skype is dave.mason46

    Comment


    • #17
      Re: Make an exe to run alpha app

      Any progress there Dave?

      Comment


      • #18
        Re: Make an exe to run alpha app

        Hi Ray,

        I have not even gotten started yet. We got rid of the big house and got a condo. Has taken a lot of time and still not through. Soon, I HOPE!
        Dave Mason
        dave@aldadesktop.com
        Skype is dave.mason46

        Comment


        • #19
          Re: Make an exe to run alpha app

          Downsizing, I can't face that yet.
          Now you will save the time that went on the pool and garden and fixing and wotnot,
          But also you can lock up and go travelling more, or racing
          Thanks for a reply.

          Comment


          • #20
            Re: Make an exe to run alpha app

            Hi Guys,

            This is rather a cool solution.

            One question. Can't someone browse through the computer and click on all sorts of files and see if they can bypass the vb made exe file?

            Joe

            Comment


            • #21
              Re: Make an exe to run alpha app

              Originally posted by wolf View Post
              One question. Can't someone browse through the computer and click on all sorts of files and see if they can bypass the vb made exe file?
              They can. But if you secure the db and password protect the tables they won't be able to get at the data.
              Peter
              AlphaBase Solutions, LLC

              Peter@AlphaBaseSolutions.com
              https://www.alphabasesolutions.com


              Comment


              • #22
                Re: Make an exe to run alpha app

                OK

                Whats the difference between:

                Code:

                Private Sub Form_Load()
                Dim tpath
                tpath = CurDir + "\alda.exe "
                tpath = tpath + "c:\alda\upsserver10\sales.adb " + " -NOMINMAX" + " -NOSYSMENU" + " -NOSPLASH" + " NODEBUG" + " -NODBCHECK"

                tpath = tpath + " -TITLE=UpsLog Vers. 11.225 by ALDA Consulting 352-302-2015"
                tpath = tpath + " -ICON=" + "c:\alda\racecar.ico"
                c = Shell(tpath, 3)
                End
                End Sub

                or

                by going into the folder c:\alda\upsserver10\ and double clicking on the sales.adb database file. Unless I am missing something here both do the same thing.

                Would be great for Alpha 5 to come up with some cool distribution methods eg a way to convert the sales.adb into an exe. Basically there could be coding in the exe file that once clicked it runs the database. Only these lines of code know which database to open. Just a thought.

                Comment


                • #23
                  Re: Make an exe to run alpha app

                  joseph,

                  What if sales.adb was hidden by another name like "xyz.zip and was change on clicking any.exe to "sales.adb"? Make sense? That is more like what I was talking about.
                  Dave Mason
                  dave@aldadesktop.com
                  Skype is dave.mason46

                  Comment


                  • #24
                    Re: Make an exe to run alpha app

                    Originally posted by DaveM View Post
                    joseph,

                    What if sales.adb was hidden by another name like "xyz.zip and was change on clicking any.exe to "sales.adb"? Make sense? That is more like what I was talking about.

                    Hi Dave,

                    That would be a better way I think. Its a dam shame the database main file from Alpha 5 is not generated into an exe automatically.

                    Rule number one. If the standard file is exe for programs made to run in Windows for example anyone developing development tools such as Alpha 5 should have the same rule applied to the run time file. This is the reason I have not subscribed.

                    The reason being is that tools such as registration software security systems are made first up for the exe file.

                    There is an opportunity for someone with the right skill set to come up with .adb to exe converter where the program converts the file and the only way for the database to work is for the exe file to execute.

                    Dave one question. Do you have a trial version or a sample DB online with the runtime? I have contacted the guys from the mde to exe compiler and they are interested in looking at this further but I don't have anything as yet to share.

                    Thanks

                    Joe

                    Comment


                    • #25
                      Re: Make an exe to run alpha app

                      Good thought, but the adb will not work as an exe because it is not designed that way. There are several files with the same name and different extensions that depend on each other and their complete name.

                      These should be questions posted in the v11 section of the forum where more people could see and answer.
                      Dave Mason
                      dave@aldadesktop.com
                      Skype is dave.mason46

                      Comment


                      • #26
                        Re: Make an exe to run alpha app

                        Originally posted by DaveM View Post
                        Good thought, but the adb will not work as an exe because it is not designed that way. There are several files with the same name and different extensions that depend on each other and their complete name.

                        These should be questions posted in the v11 section of the forum where more people could see and answer.
                        The exe file would be a an executable script to control the database. Basically it would launch by the user by clicking on it then the exe file itself would execute code that would execute the database file in the Alpha format. You would make it that only the exe file script can launch the database and you could not do so by locating the folders and trying to find the alpha start up file.

                        Comment


                        • #27
                          Re: Make an exe to run alpha app

                          Hi Dave I created a new thread as per your suggestion.

                          Its here:

                          http://msgboard.alphasoftware.com/al...Alpha-exe-File

                          Comment


                          • #28
                            Re: Make an exe to run alpha app

                            I still offer to create a custom exe file for people on the board that is free as long as you send what you want in it. You can send it by email if you please at dave@aldaweb.com

                            The exe would be used to start alpha5.exe with the command line codes and icons imbedded inside. Again, your startup commands and your supported icons.
                            Dave Mason
                            dave@aldadesktop.com
                            Skype is dave.mason46

                            Comment


                            • #29
                              Re: Make an exe to run alpha app

                              Some questions Dave ,
                              1 would that exe be a launcher or does it package the ADB and all required files inside it, like a self unpacking zip exe?
                              2 What must "as long as you send what you want in it" include ?
                              3 Revisions and updates - would they have to be re"compiled"?

                              Comment


                              • #30
                                Re: Make an exe to run alpha app

                                1. The exe was done because a client would look in the shortcut and start changing things and it also sends them to the named exe file where they got ideas. By creating the exe, it shortcutted a lot of that. It also easily replaced the alpha icon on startup.
                                2, What is needed? the paths to where the runtime is located, name of the exe to run(some have renamed the alpha5.exe)., command line options used like: -nodebug, etc. One could place startup options in a text file in the folder and then later change those if desired. Where the exe would read the text file and include the contents. Any Icon desired needs to be sent or the exe will default to the alpha icon.
                                3. As long as nothing changes with alpha naming and command line options, this will work fine. I have used one exe since version 7 to v12 without issue.
                                Self unpacking zip? No. As long as the files are active and grow or shrink, that might not be a good idea.

                                If one want this, it is all good. Alternatives were brought up above where one can use other tools to a similar result. Anybody having VB6 can do this themselves. There are other tools as well.
                                Dave Mason
                                dave@aldadesktop.com
                                Skype is dave.mason46

                                Comment

                                Working...
                                X