PDA

Click to See Complete Forum and Search --> : Invoking an Application in Web Browser


kokmun
Mar 29th, 2000, 02:33 PM
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

Mar 29th, 2000, 03:50 PM
Use a normal link to access the file.


<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

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