|
-
Mar 29th, 2000, 03:33 PM
#1
Thread Starter
Junior Member
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, 04:50 PM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|