Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run execute from ASP

Status
Not open for further replies.

Kinky

IS-IT--Management
Sep 3, 2002
12
0
0
EU
Hi all,

How can run an executable from ASP?

I've tried WScript.shell but the process is dead.

Thanks
 
using vbscript we can play the exe file in the new page
like this

response.redirect("
if u want to play in a same file
u can try like this in html

<a href=&quot; here execute</a>

note:i send the dummy path please change the path for ur exe file

with regards
webspy(raghu)
 
However, the program is located at the server (IIS).

Thanks!
 
One way you can do it is create some type of active x component (dll) in vb or vc++. When you create an ActiveX dll you have access to anything that visual basic would on that iis server. therefore, you could use a simple shell statement in the activex dll code. Once you do that, you could compile the dll, make sure its registered on your iis server and then invoke it from ASP. Hope this helps.
 
Of course you realize that if you run a program that it on the server, then it is going RUN on the server. The client wont see it... Tazzmann
 
Of course you realize that if you run a program that is on the server, then it is going RUN on the server. The client wont see it... Tazzmann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top