-
Hi there!
I'm trying to find out how can I run a application that I had created in VB6 thru the use of a link on the webpage.
Upon invoking this application for the first time, subsequent running of the same application is disabled but will show up the fist instance of the running application.
I suppose this will have to got to do with the registry which I'm not too sure how to go about it
Regards
-
Use a normal link to access the file.
Code:
<html>
<body>
Please click the following link and choose 'Run from currrent location'<br>
<a href="file://c:/folder/exename.exe">Click to start EXE</a>
</body>
</html>
If you dont want to allow the program to run twiice use
Code:
If App.Previnstance Then
End
end if
And if you want to start the first instance look for an example, i think there is an example on http://www.vb-world.net or else on http://www.mvps.org/vbnet/
Hope it helps