CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Run a exe file on the server

Print topic Send  topic

Author Message
smalloy

Posts: 107
Posted: 07/18/2005, 10:11 AM

I am using a SDK that requires an executable run on the server, I'm not sure how to run the executable from my asp code.

Any help would be very much appreciated!

Steve

_________________
Anything can be done, just give me time and money.
View profile  Send private message
peterr


Posts: 5971
Posted: 07/18/2005, 11:24 AM

http://www.google.com/search?complete=1&hl=en&q=run+exe+from+asp
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
smalloy

Posts: 107
Posted: 07/19/2005, 6:21 AM

This is the answer, say the exe is on the c:\temp\runme.exe
then use in your asp:

Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "cmd /K CD C:\temp\runme.exe"
Set oShell = Nothing

Helpful site:
http://msdn.microsoft.com/library/default.asp?url=/libr...ml/wsmthrun.asp

Thanks again Peter!!!!
_________________
Anything can be done, just give me time and money.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.