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

Make an exe to run alpha app

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

  • DaveM
    replied
    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 [email protected]

    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.

    Leave a comment:


  • wolf
    replied
    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

    Leave a comment:


  • wolf
    replied
    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.

    Leave a comment:


  • DaveM
    replied
    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.

    Leave a comment:


  • wolf
    replied
    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

    Leave a comment:


  • DaveM
    replied
    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.

    Leave a comment:


  • wolf
    replied
    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.

    Leave a comment:


  • Peter.Greulich
    replied
    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.

    Leave a comment:


  • wolf
    replied
    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

    Leave a comment:


  • Ray in Capetown
    replied
    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.

    Leave a comment:


  • DaveM
    replied
    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!

    Leave a comment:


  • Ray in Capetown
    replied
    Re: Make an exe to run alpha app

    Any progress there Dave?

    Leave a comment:


  • DaveM
    replied
    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.

    Leave a comment:


  • DaveM
    replied
    Re: Make an exe to run alpha app

    Note: This seems to work well with v7 and up.


    .

    Leave a comment:


  • DaveM
    replied
    Re: Make an exe to run alpha app

    Here is an exe to run an adb file named any. It has a reference to any.startup. It runs alpha5 runtime from the Program files to start the any.adb from whatever folder it resides in(be sure all the files are in your folder with the adb files). You can put your startup commands in any.startup and it will be read.

    The code is quite simple in vb to make this and with an app name and supplied icon named whatever you want (like: myapp.ico) I can set it up for you.

    if your path is other than the default installation for a5, please let me know?

    I am also supplying the icon I used when making this exe. It is what shows up in windows when you run the exe.

    Here is the simple code I used to make this exe in VB6

    Code:
    Private Sub Form_Load()
    Dim exepath
    Dim upspath
    exepath = "C:\program files\a5v9 RunEngine"
    upspath = exepath + "\alpha5.exe "
    upspath = upspath + CurDir + "\any.adb -INCLUDE= any.startup"
    c = Shell(upspath, 3)
    End
    End Sub
    commands currently used in my own any.startup is:

    -TITLE="Ups Desk 9.11 by K&D Consulting 352-302-2015"
    -MAXIMIZE
    -SPLASH = "splash.jpg"
    -ICON = "log.ico"
    -NOSYSMENU
    .
    Last edited by DaveM; 09-25-2009, 03:30 PM.

    Leave a comment:

Working...
X