opening my program in run mode

Posted on 2006-04-02
Medium Priority
Last Modified: 2010-05-01

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!!!

Question by:Jaymesh
LVL 12

Accepted Solution

Bob Lamberson earned 2000 total points
ID: 16356607
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.

LVL 18

Expert Comment

ID: 16357076
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.
LVL 17

Expert Comment

by:Muhammad Khan
ID: 16357275
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...

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question