|
-
Apr 1st, 2001, 04:32 PM
#1
Thread Starter
New Member
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
-
Apr 1st, 2001, 05:31 PM
#2
Guru
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|