English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How to make a link from my webpage to my executable program (language used is VB6) without encountering "File Download" using HTML codes?

Using " Click ", I can link my .exe program to my page but the problem is that before it opens my .exe program, a "File Download" message box appears showing 4 buttons - open, save, cancel and more info. I want to open a link to the .exe program without encountering that message box. Please help.

Please answer my question with explanation and HTML codes. Thanks.

2007-02-18 18:47:16 · 5 answers · asked by red scar 2 in Computers & Internet Programming & Design

5 answers

You can't. A web browser doesn't know how to handle an executable, so it asks the user what to do with it. Besides, it's a major security risk from the client perspective to allow the opening of linked executables without permission.

2007-02-18 18:54:09 · answer #1 · answered by goorulz621 1 · 2 0

It might be as simple as a browser setting - im not too familiar with mac/safari but because your loading the file from your hard drive it may be treating it like any old kind of text document and showing you the text as opposed to rendering it as a webpage. If you cant find such an option in your browser settings, do you have access to some webspace? (yahoo provides freebie space) - see how your browser acts when you access it online. The code itself is definately ok.

2016-05-24 06:46:18 · answer #2 · answered by Barbara 4 · 0 0

You can't force a .exe to run, otherwise what would a million malicious programmers do? It has to be the users' choice. Also when done in that manner, the program is run on the client side, not the server side, so of course it has to be downloaded first.

2007-02-18 18:51:29 · answer #3 · answered by teef_au 6 · 1 0

You cannot do this -- the web browser prevents it for security purposes.

2007-02-18 19:06:53 · answer #4 · answered by SAW 2 · 1 0

try this link

2007-02-18 18:51:09 · answer #5 · answered by stick 2 · 0 0

fedest.com, questions and answers