Call external program

Posted on 2005-05-06
Last Modified: 2012-05-05

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.

Question by:saturation
    LVL 20

    Expert Comment

    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 :


    use the wscript object
    dim gx
    set gx=server.createobject("")"yourapplicationfilewithpath")
    LVL 7

    Accepted Solution

    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.

    LVL 15

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    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…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    737 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

    18 Experts available now in Live!

    Get 1:1 Help Now