How do I AutoStart my application after Installation.

  • Thread starter Thread starter CV
  • Start date Start date
C

CV

Hi,

I developed an windows application in Vb.net and compiled that application.
I would like to know that how can i execute my application automatically
after installation.

Any Suggestions would be greately appreciated.

Regards
CV
 
The System.Diagnostics.Process class contains a Shared method named Start
that takes, as one overload, a String representing the location + name of an
application. Assuming you know the installation directory that the user
chose during the install process you can just use that along with the app
name so that when the user clicks to exit the installer you can just run the
app. It might be best to have a checkbox on the last page of the install
wizard asking the user if he/she would like to launch the application
automatically. This way the user has a choice.

http://msdn.microsoft.com/library/d...l/frlrfSystemDiagnosticsProcessClassTopic.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top