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
 
Back
Top