|
-
October 26th, 1999, 09:00 AM
#1
Launching from HTML link
Does anyone know how to get a VB application local on the client machine to launch from an HTML link on the web browser AND be able to receive a command line parameter readable from the Command$ function?
-
October 26th, 1999, 09:12 AM
#2
Re: Launching from HTML link
AFAIK there are no direct ways of doing what you want, but a few workarounds:
- if your local app exports a COM interface you could use client-side DHTML scripting and invoke your program using CreateObject syntax from VBScript.
- write an ActiveX control that allows starting of apps with parameters. This one won't be "safe for scripting", though, because someone might want to use it for "format C:"
- do it the same way as MS does it for REG files:
register your app with a certain file extension and add a file URL with your extension (.MYF) and have the user click on it. This will launch your app with the given file name. You can then read the parameters from the file.
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
|