Solved

Execute external exe file from ASP

Posted on 1998-12-22
8
214 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
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: 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
 
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

DevOps Toolchain Recommendations

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

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

860 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