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
JaymeshAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LambersonSoftware EngineerCommented:
Jaymesh,
Go to the Project window in the IDE and rt click on the project name, click on Set as Startup, rt click on project name again, click on project name properties, and on the general tab select the startup object from the dropdown list.

Bob
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SethiCommented:
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.
0
Muhammad KhanManager, ITCommented:
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...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.