• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

Call external program


I need to call an external program (still being developed) and pass 3 xml files from an asp page and was wondering about the best route or how to go about it.  How can I 1) call an external program using VBScript or Javascript or 2) should the program be a dll, exe, or something else (like an activex object)?  Thank you in advance.

1 Solution
Go to download a component call AspExec, and install it in your server, then you can execute the exe file in your server
download file in : http://www.serverobjects.com/products.htm


use the wscript object
dim gx
set gx=server.createobject("wscript.shell")
A DLL would be a good choice. IF you are running the program on the server itself then make a DLL and pass the names as Input params to a function. IF the program is an exe then you can use the method suggested by jitganguly. But I think you have to change the security settings of IIS on the machine.

If its a dll you can call it within ASP.


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now