Link to home
Start Free TrialLog in
Avatar of Jaymesh
Jaymesh

asked on

opening my program in run mode

Hi

This probably has a very simply solution but here goes. I have a program that is fully working.

I now need it to run automatically when the file is opened. For example, at present the file is still opening in design view allowing all the code to be shown.

How do I make it so that it runs automatically? rather than me having to click the RUN button after it has opened

Please Help!!!

Jay
ASKER CERTIFIED SOLUTION
Avatar of Bob Lamberson
Bob Lamberson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think you asking on how to make an Exe for the program. To do that go to file menu and you will see "Make Project1 exe..." menu there. Press that and save the exe of the file in your specified folder. Now you can run the exe and VB IDE will not open.
Avatar of Muhammad Khan
You can use Package and deployment wizard to create a Package setup for you.... this can be found under Add Ins->Package and Deployment Wizard... if Package and Deployment Wizard option does not exist there .. then you need to go to Add Ins->Add In Manager then double click Package and Deployment Wizard shown in the list... and press OK,

then you will see the Package and Deployment Wizard option ..

it is a simple and straight forward wizard which collects all the dependencies of your project and compile them into a package and creates setup files... like user just have to click setup.exe to install your program...