Solved

ASP Component Needed

Posted on 2001-08-22
3
335 Views
Last Modified: 2012-06-27
I need a component to run exe.
0
Comment
Question by:ansi_c
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 60 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks. I think I will use WScript for simplicity.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now