Solved

Execute external exe file from ASP

Posted on 1998-12-22
8
212 Views
Last Modified: 2013-12-25
How to run an .exe file (external program) from ASP ?
(what's the command ?)

thanks.
0
Comment
Question by:asiasoft
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1857427
You will need another program to run generic programs.  Most of the microsoft apps will work by creating an instance of them.  Check out Activeserverpages.com for the Dl and more info.
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1857428
Check the above comment
0
 

Author Comment

by:asiasoft
ID: 1857429
thanks to massey, but I still want to hear any better solution from others.
0
 
LVL 1

Expert Comment

by:acsmith
ID: 1857430
how about a dll that just shells out to the prog you want to run? you could then create an instance of the dll, and call it's shell out method.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 1

Expert Comment

by:acsmith
ID: 1857431
or an activex exe that shells out to the prog you want to run. I think you have to bugger about with the aspallowoutofprocprocess metabase to launch activex exe's on the server though. And i'm not sure if you can shell out properly from an activex exe, i've got a feeling it'll launch it as a process rather than an app.
0
 

Expert Comment

by:changg
ID: 1857432
There is a free component you can use called aspexec. Check it out at http://www.serverobjects.com/products.htm#Aspexec

Hope this helps,

Garett
0
 

Author Comment

by:asiasoft
ID: 1857433
changg (Garett), thanks for your comments. I think you do answer my question.
To get your score, just lock this question, and i will score you.

thanks.
0
 

Accepted Solution

by:
changg earned 50 total points
ID: 1857434
Thanks,

Garett
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Angular JS form 8 45
Problem to go to Web page 2 100
Animated .jpg? 13 63
ASP.NET MVC 2 8
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Read about why website design really matters in today's demanding market.
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

863 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

20 Experts available now in Live!

Get 1:1 Help Now