Results 1 to 2 of 2

Thread: Invoking an Application in Web Browser

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Posts
    17
    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

  2. #2
    Guest
    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
  •  



Click Here to Expand Forum to Full Width