Solved

ASP Component Needed

Posted on 2001-08-22
3
339 Views
Last Modified: 2012-06-27
I need a component to run exe.
0
Comment
Question by:ansi_c
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 60 total points
ID: 6416069
Try this
<%
dim wsh
set wsh = server.createobject("WScript.Shell")
wsh.run("C:\windows\notepad.exe")
set wsh = nothing
%>

You can also use AspExec component. Download it at http://www.serverobjects.com/products.htm

hongjun
0
 
LVL 33

Expert Comment

by:hongjun
ID: 6416070
Note that the use of WScript.Shell does not really need you to register any new dlls. It should be there already.

hongjun
0
 

Author Comment

by:ansi_c
ID: 6416093
Thanks. I think I will use WScript for simplicity.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP Focus problem 3 72
alert(innerHTML); 8 39
Button function on table is in trouble 3 35
Read text on Table 7 29
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question