start a program in a vb.net program

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

    #1

    start a program in a vb.net program

    With System.Diagnost ics.Process.Sta rt(ProgramPath) I can start a program X
    in a vb.net program
    Can I also dedect and how in this vb.net program that X is closed?
    Thanks for any response


  • =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=

    #2
    RE: start a program in a vb.net program



    "andrews" wrote:
    With System.Diagnost ics.Process.Sta rt(ProgramPath) I can start a program X
    in a vb.net program
    Can I also dedect and how in this vb.net program that X is closed?
    Thanks for any response
    >
    >
    Yes. Look at
    http://msdn2.microsoft.com/en-us/lib...ss.exited.aspx.
    >

    Comment

    • kimiraikkonen

      #3
      Re: start a program in a vb.net program

      On Dec 22, 3:59 pm, Family Tree Mike
      <FamilyTreeM... @discussions.mi crosoft.comwrot e:
      "andrews" wrote:
      With System.Diagnost ics.Process.Sta rt(ProgramPath) I can start a program X
      in a vb.net program
      Can I also dedect and how in this vb.net program that X is closed?
      Thanks for any response
      >
      Yes. Look athttp://msdn2.microsoft .com/en-us/library/system.diagnost ics.process.e.. ..
      >
      >
      You can wait till the process finishes its work and finishes using:

      yourprocess.Wai tForExit()

      Comment

      Working...