Calling external file

Discussion in 'ASP .Net' started by Gerald, Dec 7, 2005.

  1. Gerald

    Gerald Guest

    Hi guys,

    I want to be able to call a external exe from an aspx page.
    I saw two options:
    - creating a vbs file to call via Wscript.
    - Calling directly the exe.

    I have failed so far to do both.

    Solution 1: I have a vbs file that does everything I need. It works perfect
    when called from command line.
    But I cannot manage to call it from asp.net

    Solution 2: I have been able to create the script, but asp.net hangs up when
    I call it.
    I do see the process starting. But nothing coming up.

    Can someone give me a clue?

    Tx

    Gerald
     
    Gerald, Dec 7, 2005
    #1
    1. Advertisements

  2. Gerald

    Siva M Guest

    Did you try Process.Start()?

    "Gerald" <> wrote in message
    news:esgzDJ0%...
    Hi guys,

    I want to be able to call a external exe from an aspx page.
    I saw two options:
    - creating a vbs file to call via Wscript.
    - Calling directly the exe.

    I have failed so far to do both.

    Solution 1: I have a vbs file that does everything I need. It works perfect
    when called from command line.
    But I cannot manage to call it from asp.net

    Solution 2: I have been able to create the script, but asp.net hangs up when
    I call it.
    I do see the process starting. But nothing coming up.

    Can someone give me a clue?

    Tx

    Gerald
     
    Siva M, Dec 7, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Freddy Fischer
    Replies:
    1
    Views:
    395
    Natty Gur
    Oct 23, 2003
  2. Chris Cornell
    Replies:
    1
    Views:
    1,139
    Eric Sosman
    Jun 14, 2004
  3. Raskolnikow
    Replies:
    1
    Views:
    449
    Michiel Salters
    Jul 18, 2003
  4. Scott Allen
    Replies:
    8
    Views:
    11,411
    Scott Allen
    May 2, 2004
  5. Jon Slaughter

    Calling external program in C++

    Jon Slaughter, Dec 13, 2004, in forum: C++
    Replies:
    9
    Views:
    26,331
  6. ajay

    Calling external javascript from .aspx file

    ajay, Nov 3, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    289
    John Saunders
    Nov 4, 2003
  7. Mellow Crow
    Replies:
    6
    Views:
    709
    Richard Cornford
    Nov 4, 2005
  8. Replies:
    2
    Views:
    183
Loading...