Im trying to open google chrome programmically.. C# .net

Discussion in 'Programming' started by Fiverscripts, May 28, 2010.

  1. #1
    Basically the only way i have found to do it is by calling the exe file (main program) directly by calling:

    C:\Users\Matthew Laverack\AppData\Local\Google\Chrome\Application\chrome.exe but this is a app im going to distrabute to other users and as soon as they install it on thier computers.. calling that exe will not work as they will have a different folder name/ structure..

    So my question is.. is the any other way of calling the main exe/ program.. im using c#. net :)
     
    Fiverscripts, May 28, 2010 IP
  2. searchia

    searchia Well-Known Member

    Messages:
    1,179
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    115
    #2
    Don't know if it correct but something like:

    From
    http://msdn.microsoft.com/library/d...l/frlrfSystemDiagnosticsProcessClassTopic.asp

    But you can also do it via this code
     
    searchia, May 28, 2010 IP
  3. Fiverscripts

    Fiverscripts Moderator Staff

    Messages:
    1,839
    Likes Received:
    42
    Best Answers:
    1
    Trophy Points:
    370
    #3
    hmm i have tryied both of those methods.. dont seam to work :(
     
    Fiverscripts, May 29, 2010 IP
  4. searchia

    searchia Well-Known Member

    Messages:
    1,179
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    115