Discussion Locked

Anybody know how to open application from HTML link?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anybody know a simple way to start an application such as an exe or multimedia file from a html link, without been given the option of saving to disk etc.
I have heard of java scripts that will do this however I have not come across any.

Thanks much.

4 replies

by bigdog

make sure you specify the correct mime-type for the file that is to be used. Also the user needs to have support for that mimetype in their browser. For example, take pdf files which opens up a pdf viewer application like Acrobat or xpdf (linux).

by read

Try something like the following (see script below).

Keep in mind that IE and other browsers will prompt the user for permission to substantiate the ActiveX control. You can get around this if this is for users on a corporate network by getting them to either click "yes" every time they launch it, or by changing the security settings in their browser (in IE this is Tools.Internet Options.Security).

Following is a JScript example. You could code this with VBScript if you prefer.

Run EXE Test

Run Calculator

This discussion is closed to new replies.