wsh VS aspexec

Discussion in 'ASP General' started by Dave Karmens, Feb 19, 2004.

  1. Dave Karmens

    Dave Karmens Guest

    which is better to use?

    dim wsh
    set wsh = Server.CreateObject("WScript.Shell")
    wsh.run "c:\build.exe", 1, True
    set wsh = nothing


    --or--

    Dim Executor
    Set Executor = Server.CreateObject("ASPExec.Execute")
    Executor.Application = "c:\build.exe"
    Executor.ShowWindow = True
    Executor.ExecuteWinApp
    Set Executor = nothing
     
    Dave Karmens, Feb 19, 2004
    #1
    1. Advertising

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. Benjamin Bittner

    IISFAQ WSH Script in/to DotNet

    Benjamin Bittner, Jun 28, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    869
    M. Zeeshan Mustafa
    Jun 28, 2004
  2. Uday
    Replies:
    1
    Views:
    163
  3. northof40
    Replies:
    0
    Views:
    166
    northof40
    May 11, 2007
  4. Replies:
    0
    Views:
    387
  5. c676228

    aspexec is not working in IIS 6.0

    c676228, Nov 8, 2007, in forum: ASP General
    Replies:
    10
    Views:
    601
    Steven Cheng[MSFT]
    Nov 12, 2007
Loading...

Share This Page