Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi All,
I was wondering if anyone has any ideas about how to embed a .exe file in a webpage where the user can click on the .exe and have it run automatically instead of forcing the person to have to download it to their harddrive and run it manually.
I've read some things about doing this and it looks like it's not advised to do so due to the possibility of spreading viruses. However, I was wondering if it is technically possible, leaving aside issues of security.
Thank You,

It is technically possible but just about every browser I know of has security features that, at the very least, prompt the user if he really wants to run the application. Also, not everybody uses Windows PCs so the .exe files won't run on some users' machines. To get around both issues, create a Java applet instead of a .exe application.

Regardless of how you set it up, the file is downloaded to the user's hard drive in order for it to be used.

Thanks for the responses.
The .exe is meant to run on windows machines only actually so running on a different system wouldn't be a problem this time around.
As I have it right now, there is the exe on the webpage that the person has to download to their hard drive and double click to start it up.
I want to do something like this in the future:
http://www.megasolutions.net/javasc...
but I'd have to find some way of concealing the password since it would now become available in the HTML and that's no good. I think this is the type of thing I'm looking for.
Thanks for the help.

You may just want to have the user select "run" when the download pops up. This will keep the file in a temporary folder and then will be deleted with the rest. That's what happens when it is run from the browser anyway. I understand your want for the automated thing, however, I can't help you in that area. This would serve as a temporary fix. Hope you find an answer! =)

![]() |
Get date of lastFriday in...
|
muljtiply defined error i...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |