...

View Full Version : Open program



hiddenbox
12-29-2007, 01:15 AM
I need a program to open..

THIS PROGRAM IS INSTALLED!

I made a link:
file://C:\Program Files\WinPVR\WinPVR.exe
When you click on it it asks you to save the file.. I want to open it without having to have a dialog come up

_Aerospace_Eng_
12-29-2007, 01:29 AM
You can't in a web environment.

hiddenbox
12-29-2007, 01:55 AM
I read somewhere about a code that automatically selected the open option for files... I don't remember where though...

VIPStephan
12-29-2007, 02:28 AM
That depends on the browser. Some ask to download it, some give the option of running it directly (while actually just downloading it to a default location before starting it). However, as allowing for executables to be executed without any prompt or active confirmation would be a free ride for hackers and spammers to mess around on any remote computer browser vendors have become careful with such things and youíll never get around a download confirmation message today.

In a nutshell: Browsers generally arenít made to execute external programs (even Flash is affected since the Eolas (http://en.wikipedia.org/wiki/Eolas) lawsuit). And this is especially for programs on your personal hard drive that are not affiliated with a browser.

hiddenbox
12-29-2007, 02:47 AM
The file IS on the hard drive, not on a server

_Aerospace_Eng_
12-29-2007, 03:10 AM
Its not a matter of where the file is located its a matter of where you are opening the webpage. If you are using a browser then no it won't work. You need to use something like a .hta file.

http://www.htmlgoodies.com/beyond/reference/article.php/3472841



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum