Jump to content

insert exe file into html


rexal

Recommended Posts

You won;t be able to execute any application from a web page. You can link to an EXE with the anchor tag - but only a fool would click and run and EXE from a website unless its trusted.Please be a little more specific with your intent.

Link to comment
Share on other sites

Maybe it's possible to "convert" the exe file to flash. Make a flash file that does whatever the .exe application does. Sounds like it might be a game or something like that if he wants it to run within a certain height and width of the page...

Link to comment
Share on other sites

You are not able to "put" any program in your website if it is something that gets installed on your computer. There might be folks out there that have made a web version that looks like the program - but you cannot in any way "put" a program in your website.

Link to comment
Share on other sites

the reason why you can't put a program in your web site is because the web page is already displayed in a program - you cannot run a program within a program. A browser can only display information - thats it. Anything else either has to be done in a plug-in or in an external application.The closest you can get is to have your web page trigger an EXE file to be executed. And that can only be done where Active X is supported. You would first build a little tool that will allow the client to let you know where on the local hard drive the EXE file is stored. You set that path to a cookie - or database it if you dare. Then, using a little program like IntraLaunch to take that path and launch the EXE file with parameters passed from the webpage.Here is more on IntraLaunch.http://www.particlesoftware.com/en/index.htmlThe code would look something like this:(sorry for any deprecated tags - I coded this 5 years ago but it still works)

<object id="IntraLaunchScript" width=1 height=1 classid="CLSID:3F2771B1-0853-4701-8BBA-81A01245A8F0" codebase="http://www.yourdomain.com/apps/intralaunch.cab#version=4,9,0,0">	<param name="ImageLoc" value="NULL">	<param name="ImageSrc" value="NULL">	<param name="Run" value="filename.exe">	<param name="RunParms" value="+runtime parameter">	<param name="Sound" value="C:\inetpub\wwwroot\mydomain\sounds\affirm.wav">	<param name="DefDir" value="C:\Program Files\HTML Help Workshop\">	<param name="ProcessErr" value="MessageBox">	<param name="ErrAction" value="File Not Found!|Your EXE file does not seem to be in the location that your cookie specifies.  Please clear your cookies and try again.">	<param name="Display" value="ACTIVATE">	<param name="ALTInfo" value="JOIN MATCH">	<param name="Log" value="%windir%\IntraLaunch.txt"></object>

Link to comment
Share on other sites

And only IE and IE-based browsers support ActiveX so not everyone on your site would be able to see this EXE file you want to use.What exactly is the EXE file anyway? I don't think you ever meantioned what it does.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...