Computing.Net > Forums > Programming > Embed .exe file in webpage

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Embed .exe file in webpage

Reply to Message Icon

Name: rakesh411
Date: April 7, 2008 at 06:10:15 Pacific
OS: Windows XP
CPU/Ram: Intel/2GB
Comment:

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,



Sponsored Link
Ads by Google

Response Number 1
Name: klint
Date: April 7, 2008 at 09:45:50 Pacific
Reply:

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.


0

Response Number 2
Name: OldManClayton
Date: April 7, 2008 at 11:50:19 Pacific
Reply:

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


0

Response Number 3
Name: rakesh411
Date: April 7, 2008 at 17:14:18 Pacific
Reply:

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.


0

Response Number 4
Name: OldManClayton
Date: April 10, 2008 at 10:57:35 Pacific
Reply:

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! =)


0

Response Number 5
Name: MTec007
Date: April 21, 2008 at 14:29:49 Pacific
Reply:

if your 'users' use IE, just create a activeX control. instead of an exe


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Get date of lastFriday in... muljtiply defined error i...



Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Embed .exe file in webpage

Run/Exec .exe file in VBScript www.computing.net/answers/programming/runexec-exe-file-in-vbscript/5614.html

running .exe file by C# www.computing.net/answers/programming/running-exe-file-by-c/12335.html

Launch files in prog www.computing.net/answers/programming/launch-files-in-prog/9163.html