Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 24th, 2007, 12:27 PM
Authorized User
 
Join Date: Jun 2006
Posts: 73
Thanks: 1
Thanked 1 Time in 1 Post
Default making application run automatically

I am about to complete an application (appointments) However, I would obviously like it to execute for the user, on the click of an icon, or by selecting from a list, rather than opening V.B.6 software, and clicking the 'video play' button, or the 'Run' command. Any help, much appreciated.

 
Old February 24th, 2007, 11:08 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You must compile it to an executable file.

Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
 
Old February 25th, 2007, 08:07 AM
Authorized User
 
Join Date: Jun 2006
Posts: 73
Thanks: 1
Thanked 1 Time in 1 Post
Default

thanks woodyz - I take it that just means, when saving the project, I put an .exe extension on the file, instead of or, and, the normal .vbp. Thanks, Liam.

 
Old February 25th, 2007, 12:12 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No. You compile it by building it. You do this from the File menu, and select the Make item. This will compile the code into an exe. Just naming the VBP file extension to EXE will not do it.

Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
 
Old January 23rd, 2008, 05:27 PM
Authorized User
 
Join Date: May 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello making your software run automatically is very simple.After compiling it into an exe, just make an autorun file using notepad.that is if you want it to run from cd automatically...
Just do it this way:


[Autorun]

Open = softwarename.exe
icon=icon.ico


And thats it.If not from cd just create an installer and give directory path to startup.

if you are not clear with it, dont hesitate to let me know..\take care..

Enjoy....








Similar Threads
Thread Thread Starter Forum Replies Last Post
run a program automatically hastikeyvan ASP.NET 2.0 Professional 1 December 18th, 2009 03:34 PM
run automatically...help plz lom2pac Access 2 August 7th, 2006 10:42 AM
Making C# run in a webpage (like an applet) lokesh BOOK: Professional C#, 2nd and 3rd Editions 1 January 21st, 2005 04:24 PM
Run query automatically mateenmohd SQL Server 2000 9 March 28th, 2004 03:35 PM
Run vb application automatically PbsiGuru General .NET 3 March 17th, 2004 04:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.