please dont rip this site

Language Asp Comp Aspexec Aspexec.htm

ASP  Exec
set x = Server.CreateObject("AspExec.Execute")
'Properties:
'.Application	: Set the path (optional) and exe/com filename
'.Parameters	: Set the app parameters
'.TimeOut   	: Set the timeout to wait (milliseconds)
'	Used only for ExecuteDosApp and ExecuteWinAppAndWait
'.ShowWindow	: Set whether the executing app is visible or not
'	Used only for ExecuteWinAppAndWait and ExecuteWinApp

'Methods:
'ExecuteDosApp	: Executes the specified app as a DOS app and returns 
'	stdio as string
'ExecuteWinAppAndWait : Execute the specified app as a Windows app 
'	and wait for the specified timeout if exec is successful
'ExecuteWinApp	: Execute the specified app as a Windows app and 
'	return result code immediately

See also: NT Version 4.0 cmd.exe


An Exec component for ASP
Version 3.0
Sept 20, 1998
Copyright (c) 1997, 1998 by ServerObjects Inc. All rights reserved.
http://www.serverobjects.com

Notes for version 1.0 & 2.0 users:
Please unregister the old version before installing this new version.
You can do this by typing
  regsvr32 /u aspexec.dll

Also note that the object is now called AspExec.Execute instead of
ASPsvg.Execute so your Server.CreateObject calls will need to be changed
to reflect this new name.


Description: ASPExec allows you to execute DOS and Windows apps. The following
functionality is available through ASPExec

property Application : Set the path (optional) and exe/com filename
property Parameters  : Set the app parameters
property TimeOut     : Set the timeout to wait (milliseconds)
                         Used only for ExecuteDosApp and ExecuteWinAppAndWait
property ShowWindow  : Set whether the executing app is visible or not
                         Used only for ExecuteWinAppAndWait and ExecuteWinApp


ExecuteDosApp        : Executes the specified app as a DOS app and returns
                         stdio as string
ExecuteWinAppAndWait : Execute the specified app as a Windows app and wait
                         for the specified timeout if exec is successful
ExecuteWinApp        : Execute the specified app as a Windows app and return
                         result code immediately


Installation: To use this ASP component move the DLL into a subdirectory
(like \winnt\system32 for NT or \windows\system for Win95) and type

   regsvr32 aspexec.dll

You MUST go into control panel/services/world wide web publishing service
and turn Allow Service to Interact with Desktop on to use this component
if you run IIS as a service.

Some users after upgrading to SP3 report that visual apps no longer pop up. Make sure
that you have any Inetinfo managed services marked as "Allow to Interact with Desktop"
if you want to see visible apps on the server screen. Otherwise they will appear as
hidden windows.

Usage: See the attached example ASP scripts for usage


<P>Questions:
<UL>
   <LI>

</UL>
</BODY></HTML>

file: /Techref/language/asp/comp/aspexec/aspexec.htm, 2KB, , updated: 2022/1/19 17:21, local time: 2024/11/21 21:36,
TOP NEW HELP FIND: 
18.226.222.76:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/language/asp/comp/aspexec/aspexec.htm"> language asp comp aspexec aspexec</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .