Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
LinkedIn
Online Members
baskar
More...
Join our online
Google+ community
for Bloggers, Content Writers and Webmasters
Forums
»
.NET
»
ASP.NET
»
run exe using asp.net
Posted Date:
18 Dec 2008
Posted By::
prasannakumar
Member Level:
Gold
Member Rank:
0
Points
: 1
Responses:
2
hi,
i have an exe in web server like temp.exe.now i want to run temp.exe in client from server using c#. how to do this?
my code like this
System.Diagnostics.Process lameProcess;
ProcessStartInfo psi = new ProcessStartInfo();
fileLocation = "http://localhost/socketclient/temp.exe";
psi.FileName = fileLocation;
psi.UseShellExecute = false;
psi.RedirectStandardError = true;
lameProcess = System.Diagnostics.Process.Start(psi);
lameProcess.Start();
Response.Write(lameProcess.StandardError.ReadToEnd());
but this code not working.......
Regards
K.Prasannakumar
Tweet
Responses
#330560 Author:
Deepika Haridas
Member Level:
Gold
Member Rank:
7
Date: 18/Dec/2008 Rating:
Points
: 0
Hi,
Instead of localhost try to give IP address..
Thanks & Regards,
Deepika
-
Sr. Editor
Webmaster, GujaratSpider
http://angeldeeps.blogspot.com/
"Experience is the name everyone gives to his mistakes"
GujaratSpider - Post and Earn
#330562 Author:
Deepika Haridas
Member Level:
Gold
Member Rank:
7
Date: 18/Dec/2008 Rating:
Points
: 1
Hi,
Check this link. Might help you
http://dotnetslackers.com/Community/blogs/haissam/archive/2007/02/02/Run-Executable-file-in-ASP.NET.aspx
Thanks & Regards,
Deepika
-
Sr. Editor
Webmaster, GujaratSpider
http://angeldeeps.blogspot.com/
"Experience is the name everyone gives to his mistakes"
GujaratSpider - Post and Earn
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
export
Previous :
gridview problem
Return to Discussion Forum
Post New Message
Category:
Related Messages
Validation Controls
no of click on advertisement in asp.net application
Please Please help.................. tooo urgent
Please tell me .Net interview Questions for 2+ Years Exp
To upload Documents like(doc,pdf,etc) to file system
Follow us on Twitter:
https://twitter.com/dotnetspider
Active Members
Today
srirama
(22)
Phagu Mahato
(11)
baskar
(7)
Last 7 Days
baskar
(300)
Asheej T K
(203)
srirama
(185)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
About Us
Contact Us
Copyright
Privacy Policy
Terms Of Use
Revenue Sharing sites
Advertise
Talk to
Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.