View Full Version : how to execute an .exe file from HTML

09-26-2007, 10:09 AM

I want to open the paint application of windows by clicking a hyper link or a button in html page.

Can anyone help me how to do this?

09-26-2007, 10:13 AM
You can't do that using HTML. You won't have the permission to open programs in the client's computer.

09-26-2007, 10:54 AM
Fortunately browsers do not allow programs to be run straight from web pages like that. The holes in ActiveX are bad enough for allowing viruses to be generated. The last thing we want is for web pages to just be able to run virus.exe files whenever they feel like it.

When you want someone to run an eexe file from your web page there are several steps involved.

1. Offer the file for download so that they can download the file to their computer.
2. They then run a virus scan so as to make sure someone didn't break into your site and install a virus into it.
3. Once they are happy that the file is safe they run it.