Tuesday, October 2, 2007

Are People That Get Tattos Stupid

Run your application from a link

window when your application form is registered for the initiation of a type of file is useful to open files within the same application, even if the program is already running well to integrate seamlessly with Windows.
The association is valid for both extensions to link eg mylink: / / In our view, it is necessary that the application is defined as a single istance, then click on "View Application Events"


will be added to the project file
ApplicationEvents.vb , select the item from the menu of events StartupNextInstance this:


Sender The parameter will be the new instance and the parameter and contains some details including the command line passed!

At this point we have all the information necessary to open the requested file in the current instance.

0 comments:

Post a Comment