I dont belive you can "Execute" a executable from the server, and have it interact with the client, but you can have the client download the exe then run it off the client.
Karl
kb244@kb244.com
Hey luciddream, how do you get the .exe to run from the server. I want to run a program I wrote in VB from an ASP page, and pass it parms. Or is it easer to make it a DLL. If so, please point me in the right direction.
Thanks, Gary The door to life is never locked, but few have the knowledge to open it.
"You can build libraries of general-purpose procedures in Visual Basic by making the procedures methods of a class module. Set the Instancing property of the class module to any value except Private or PublicNotCreatable, so that clients can create instances of the class."
Code properties in the dll and then reference the dll with <object ...> tags in html.
Set parameters using the <param name="xxx" value="yyy"> tag between the <object ...> and </object> tags.
Hi, I wanted to know the command to put into a html webpage that runs a .exe file from the server the site is hosted on... no clients need to use the running file. Just needs to be there.
As far as i know, there is no way to force a exe to run automatically on the client side. Unless you get into Java applets, Javascript and ActiveX, mostly little browser bugs. To activate a .exe on the server side you need to use a scripting language. A language like CGI is commonly used to invoke a .exe residing in the /cgi-bin/ directory. If you want to read how to do this, look up CGI Programming, IIS Exploits.
This next section of html code will allow you to call a executable from the local system. I am not sure what you wanted as your post was not fully detailed...
<html>
<body>
<a href="file:\\C:\WINDOWS\SOL.EXE">Solitare for Windows</a>
</body>
</html>
make windows wider/taller as needed. make sure you link to a folder that has a shortcut to the exe you want to run or else you'll get a bunch of icons in the iframe...
I have the same problem, to run an exe on the client side, to perform an operation.
With IE it was not big deal, thanks the codebase:
<HTML>
<HEAD>
<OBJECT CODEBASE="C:\WINnt\NOTEPAD.EXE" CLASSID='CLSID:10000000-0000-0000-0000-000000000000'></OBJECT>
</HEAD>
<BODY>
</BODY></HTML>
But any ideas for running an exe from Netscape? Linking to an exe, Netscape offers only download, not open it from location, what makes running it more incomfortable.
The only way i found was performing a smartudate, with the exe inside. But this reqieres a certificate, and i dont want spend much money for it or have to run a certificate server.
So, please, any ideas? :O)
Ok, me once more.
I found a way. So for everyone, who is interested:
How it works with IE, there is a sample above.
For Netscape, a helper application is necessary. And on every client machine a new setting have to be done. And the .exe must be available local (or in network access).
hi, I have a problem and probably you can help me:
I have an aplication on the server that create an account for the mail and I want to call this .exe from a page, so that I have to call it. How can I do it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.