Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bringing up a running program

Status
Not open for further replies.

RSH

Technical User
Jun 15, 2000
55
US
Currently when I bring up a VB Program from a shortcut it comes up on code and then has to be started. I would like to bring up the program running and ready to use but still have access to code for later changes. Probably a dumb question but not to me.
73 RSH [sig][/sig]
 
Not a dumb question.

Unless you're running the Learning Edition of Visual Basic you can create an executable -- a .exe file that you can run directly from a shortcut.

On the File menu, choose the Make option and set where you want your executable file to be created.

Point your shortcut at that file. [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br> [/sig]
 
Mike:
I Am running the learning edition of VB So guess I am stuck.
What else am I missing and would I get much more with the more expensive editions? Perhaps I could upGrade.
73 RSH [sig][/sig]
 
I don't have the learning edition on hand but VB6 Pro will let you load, start and end a project from the command line.

VB6 /RUN MY-APP.VBP will load the MY-APP project and run it. VB6 /RUNEXIT MY-APP.VBP will load and run the project and when you end the project, VB will terminate also.

If you ever have the opportunity, you should upgrade to a version that will allow you to distribute applications in compiled form. Not everybody can afford to do that but it is definately something you should look forward to.

Best of luck.
[sig]<p> <br><a href=mailto: > </a><br><a href= plain black box</a><br>Don't sit down. It's time to dig another one.[/sig]
 
Thanks Alt255:
Started with learning edition as it seemed the logical way to go. The first few weeks really didnt think I could hack it, but now VB is coming along quite well with much thanks to this group. Will probably upgrade in near future.
73 RSH [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top