Starting an application within a dot.net application

H

Halldor

Greetings all,

This must be very simple but I've been searching for too
long for the answer. How can I for example start a
program like notepad from my c# windows application? The
application in question is an old dos application which I
would need to have some control over how it starts. Like
it's priority and how much memory it get's.
Any suggestions would be very welcomed.

Thanks
Halldor
 
P

phoenix

Take a look at System.Diagnostics.Process() and
System.Diagnostics.ProcessStartInfo() classes. I think they can do what you
want.

HTH

Yves
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top