View Full Version : how to run .exe in html
tyler_supert_pompu
02-01-04, 11:52 PM
i want to run my program when my website comes or click a link ive heard this isnt possilbe because mircosoft corrected it i wuld like to know how if it is still available
like you can run a song on ur websitew right i wanna do that with html so email at tyler_supert_pompu@hotmail.com or just reply in the forum
Would this work?
<a href="myfile.exe">My Program</a>
Depending on the user's setting, the program may run or it may not. But in any case, they'll be able to open the file themselves and run it.
That would not work to run the program automatically. All that would do is ask them to download the exe file. I am not quite sure what kind of program it is you are wanting to run. I will just use an example I guess. Suppose on my website when a user views the page I would like the site / server to run a simple executable stored on my site / server to update some setting. Is this possible? Sure, but not really with plain HTML. You are probably going to need to look into using a scripting language. It really depends on what you are wanting this executable to do. If it is something for the client to run on their computer then yeah fine just link to it but I don't think that is what you were asking.
NeverMind
02-05-04, 05:20 PM
Would this work?
<a href="myfile.exe">My Program</a>
Depending on the user's setting, the program may run or it may not. But in any case, they'll be able to open the file themselves and run it.
no, this will only give a link to it download it ..
I think you need ActiveX component to run the exe file, but it's very secure and not too many of your site visitors will like it ,,
No way to do it in IE anymore. It used to be possible even recently by using the embed tag.
<embed src="myprogram.exe">
parameter="test object properties"
parameter2="I like monkeys"
parameter3="and so on"
</embed>
But if you're going for an exe, you're doing it all wrong. It's never been a good idea to do it in exe if you can avoid it. Why not just write a simple OCX executable with web output, and use an object tag to load it?
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.