Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 16th, 2004, 09: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!
  #2 (permalink)  
Old July 17th, 2004, 12: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
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.


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 05:07 AM
VBScript for Client-side controls in ASP.net cJeffreywang ASP.NET 1.0 and 1.1 Professional 1 March 22nd, 2007 08:02 PM
Print file at client side in asp.net manish.sharma04 ASP.NET 2.0 Basics 0 April 4th, 2006 08: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





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