System.Diagnostics.Process.Start

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • newscorrespondent@charter.net

    System.Diagnostics.Process.Start


    I am used to providing the path to the executable Process.Start(@ "C:\Program
    Files\ etc.". If I want to start an application that was published and
    installed with click once what is the path to that application?

    Thanks
  • Katit

    #2
    Re: System.Diagnost ics.Process.Sta rt

    Environment.Cur rentDirectory ?

    Comment

    • Mel

      #3
      Re: System.Diagnost ics.Process.Sta rt

      The only way I have found is to call the Internet address that the
      application starts with such as www.yourserver.com/clickonce.application. If
      the clickonce application placed an icon during install on the Program Menu,
      you can call that icon. The physical address changes anytime the
      application is updated.



      <newscorrespond ent@charter.net wrote in message
      news:dAYJg.117$ 0d5.48@newsfe05 .lga...
      >
      I am used to providing the path to the executable
      Process.Start(@ "C:\Program
      Files\ etc.". If I want to start an application that was published and
      installed with click once what is the path to that application?
      >
      Thanks

      Comment

      • newscorrespondent@charter.net

        #4
        Re: System.Diagnost ics.Process.Sta rt

        That gives me the place where my application is running. When I put it in
        the application I want to start the response is ugly. There has got to be a
        better way!

        Comment

        Working...