Starting an application within a dot.net application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Halldor

    #1

    Starting an application within a dot.net application

    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
  • phoenix

    #2
    Re: Starting an application within a dot.net application

    Take a look at System.Diagnost ics.Process() and
    System.Diagnost ics.ProcessStar tInfo() classes. I think they can do what you
    want.

    HTH

    Yves

    "Halldor" <Halldorm@ax.is > schreef in bericht
    news:36ce01c33f f4$b23984f0$a40 1280a@phx.gbl.. .[color=blue]
    > 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[/color]


    Comment

    • Halldor

      #3
      Re: Starting an application within a dot.net application


      This is exactly what I was looking for.

      Thanks

      Comment

      Working...