Wrox Programmer Forums
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 14th, 2003, 04:38 AM
Registered User
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default running exe on asp

I download ASPExec 3.0 from http://www.serverobjects.com. It
is supposed to allows you to execute DOS and Windows apps.
I move the DLL in the subdirectory \winnt\system32 and I type regsvr32

I went into control panel/services/world wide web publishing service and turn "Allow Service to Interact with Desktop" on.
I execute the program :
The results :

Attempting to execute notepad.exe
The result of this call was : Ok

But it doesn't work! I see Notepad in the taskmanager but it won't appear on my desktop

Did i do something incorrectly?


  Set Executor = Server.CreateObject("ASPExec.Execute")
  Executor.Application = "notepad.exe"
  Executor.Parameters = "c:\autoexec.bat"
  Executor.ShowWindow = True
  Response.Write "Attempting to execute " & Executor.Application & "<br>"
  strResult = Executor.ExecuteWinApp
  Response.Write "The result of this call was: " & strResult

I wait for your advices,



Old October 7th, 2003, 10:53 PM
son son is offline
Registered User
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I have the same problem. The experts,Could you help me, please?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running an .exe from an ASP.Net application Laggin ASP.NET 1.0 and 1.1 Professional 22 June 3rd, 2007 12:46 AM
running another .exe from my program salhabb C++ Programming 1 January 18th, 2006 06:21 AM
running .exe file in asp.net hotshot_21 ASP.NET 1.0 and 1.1 Basics 0 January 9th, 2006 08:32 AM
Running exe from iis asp.net page [email protected] Classic ASP Components 2 February 21st, 2005 10:41 PM
Running .exe on client side from a .asp page kashyap_thaker Classic ASP Basics 2 November 28th, 2003 06:48 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.