Solved

.exe files in HTML docs

Posted on 2000-03-12
6
188 Views
Last Modified: 2012-05-04
How can I put a link to an .exe file on my web page, so when somebody clicks on it, it runs the program, instead of downloading the file?
0
Comment
Question by:Lukie
6 Comments
 
LVL 4

Expert Comment

by:FRehman
ID: 2610998
simple <a href="test.exe">testit</a>
0
 
LVL 1

Expert Comment

by:man068
ID: 2611091
where do you want to run the program on server or on client.

if it is on client then FRehman's answer will work.

0
 
LVL 2

Accepted Solution

by:
coopa earned 200 total points
ID: 2611823
I think you'll find that the browser will ask the user whether thay want to "open the file from it's current location" or "save the file".

As far as I know (for obvious security reasons) there is no way around this.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 4

Expert Comment

by:swinslow
ID: 2612621
Coopa is right. No matter the type of executable, in HTML, you cant do it. It is going to depend on the users browser, and browser configuration. Just put a nate next to the link like this maybe:
<a href="OpenMe.exe">Click Here</a> <font size="-1">(Select open file, if your browser asks)</font>

0
 
LVL 4

Expert Comment

by:FRehman
ID: 2614739
there is bluf i dont believe it what happen what is correct answer
0
 
LVL 2

Expert Comment

by:coopa
ID: 2615041
> there is bluf
No, there is no bluf !
My answer correct, your answer wrong.

8o)
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

805 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question