471,073 Members | 1,402 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,073 software developers and data experts.

Running External Applications in ASP.NET

I'm trying to execute an application on the server side in
asp.net. For a simple test, I wanted to run notepad.exe
which I copied from the windows directory to my web app
directory. Here's the code snippet of my webforms
page_load event:
Process myp = new Process();
myp.StartInfo.FileName = "notepad.exe";
myp.StartInfo.WorkingDirectory =
@"c:\inetpub\wwwroot\loanimporttool";
myp.EnableRaisingEvents = true;
myp.Start();

everytime I run this, Notepad runs on the background but
the window doesn't show up. If you try to run the same
code in a windows app, it works. What am I doing wrong?
Any help would be appreciated. Thanks!

Jul 21 '05 #1
0 1023

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Alexander Kienzle | last post: by
2 posts views Thread by Lance | last post: by
4 posts views Thread by Robert Samuel White | last post: by
2 posts views Thread by Ramkishan Algude via DotNetMonster.com | last post: by
4 posts views Thread by Dylan Parry | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.