-
I am new to VB, and just wondering if anyone has any ideas here...
I am trying to write a webpage (maybe some ASP) that has a clickable menu system to launch a series of home-grown applications. I want every .exe to reside on the server, and the user should be able to run and interact with the program w/o downloading the file locally.
Would I need to use an ActiveX control for this purpose, or how else would I do it?
Any help would be appreciated...thanks.
Mike
-
Hey Mike
This works for me:
Code:
<%@Language=VBScript%>
<% option explicit
dim objShell
set objShell = server.CreateObject("WScript.Shell")
objShell.Run("calc.exe")
set objShell = nothing
%>
be careful with this though, each time the page is executed a new instance of your app will be launched. I tried to use the task manager to kill the process and it said "access denied", even after I restarted the IIS services.....
Tom