Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.††Topics such as question regarding the System.Data namespace are appropriate.††Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 Display Modes
  #1 (permalink)  
Old July 16th, 2004, 10:01 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to run a client-side .exe in the ASP.NET frame

I want to be able to run a .exe with the ASP.NET framework. I found the code below, which I have tried to no avail. What could I be doing wrong? I know the code works as it was thus stated in the original post.

The process is definitely being spawned but I get no GUI at all. If I run the same code in a windows application it is fine.

Process p = new Process();
p.StartInfo.FileName="c:\\windows\\system32\\calc. exe";
p.StartInfo.CreateNoWindow=false;
p.StartInfo.UseShellExecute=false;
p.EnableRaisingEvents=true;
p.Start();


Many thanks!
Reply With Quote
  #2 (permalink)  
Old July 17th, 2004, 01:12 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik Send a message via Skype™ to melvik
Default

Bc of Secutiry issue u can not run .EXE files from ur Browser UNLESS u download ur file & run it frm ur local computer! witch is not recomended!
Why do u wanna run .EXE file?!

Always:),
Hovik Melkomian.
Reply With Quote
Reply


Thread Tools
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
Is client-side validation in ASP.NET 2.0 possible? jacob ASP.NET 2.0 Basics 6 April 10th, 2007 06:07 AM
VBScript for Client-side controls in ASP.net cJeffreywang ASP.NET 1.0 and 1.1 Professional 1 March 22nd, 2007 09:02 PM
Print file at client side in asp.net manish.sharma04 ASP.NET 2.0 Basics 0 April 4th, 2006 09:46 AM
Launch a .exe on the client side johnjohn Classic ASP Basics 1 November 16th, 2004 01:16 AM
Running .exe on client side from a .asp page kashyap_thaker Classic ASP Basics 2 November 28th, 2003 06:48 PM



All times are GMT -4. The time now is 10:49 PM.


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