Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 20th, 2005, 01:37 PM
Friend of Wrox
 
Join Date: Jan 2005
Location: Houston, TX, USA.
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to run exe file from ASP?

Hi, all,
I try to run the notepad exe file from ASP, I search the goole and find the following source codes:
<%
Set WshShell = Server.CreateObject("WScript.Shell") 'not works
WshShell.Run "c:\windows\notepad.exe"
Set WshShell= nothing
%>
it didn't work! I think maybe it's because there is no notepad.exe in the server machine, so I put the above codes in the client side like:
sub writeFile()

     Set WshShell = CreateObject("WScript.Shell")
     WshShell.Run "c:\windows\notepad.exe"
     Set WshShell= nothing
end sub

it's still not working, I check my machine that the path "c:\windows\notepad.exe" is right. Can anybody tell me why? What's the right way to do it?

Reply With Quote
  #2 (permalink)  
Old September 23rd, 2005, 06:32 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hii Andraw!!!

http://www.codeguru.com/forum/showth...hreadid=233294

http://www.faqts.com/knowledge_base/...html/aid/10184
other links can help you
http://www.xuebrothers.net/sh/startup.htm


Cheers :)

vinod
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run an exe application from ASP vik_asp Classic ASP Components 5 March 8th, 2013 02:18 AM
run .exe in asp hostxxi Classic ASP Basics 0 June 18th, 2008 04:01 AM
How to run desktop .exe from asp ? Tom Carr Classic ASP Basics 7 April 17th, 2007 09:58 AM
can i run exe file from c or c++ code shafiq_77 C++ Programming 7 April 19th, 2005 10:08 AM
Regarding To run EXE from ASP vppatil_20 Classic ASP Components 1 September 9th, 2004 03:08 PM



All times are GMT -4. The time now is 11:24 PM.


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