Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Lauch an application via ASP


Message #1 by "y1chung" <y1chung@h...> on Thu, 27 Sep 2001 16:55:58
Hi! Everyone!



Could anyone tell me what's wrong with my code? I want to lauch an 

application from ASP page. I copied someone's code segment, but it won't 

work. I'm using NT4 and IE5.5. I downloaded Microsoft's WSH (Someone told 

me IE5 has WSH. Is it true?). This is the first time I tried to use WSH in 

an ASP page. Do I need to include something?



Any other way to invoke an exe?



Thanks in advanced!



Here's my code:



<%

dim wsh

set wsh = createobject("WScript.Shell")

wsh.run("C:\WINNT\system32\CALC.EXE")

%>

  Return to Index