opening IE from link label

hi all as u wil tell from my i am very new to C# , i have been playing with a few small programs and need a quick bit of help i ha added a linklabel to my form and want it to open my internet explorer to the text in the link but for the life of me i can not work out how to do it.

i belive the code should lok somthing like this

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

{

Process.Start("IExplore", LinkLabel.Tag.ToString());

}

maybe i am doing somthing wrong any help will be great and will add to my learning



Answer this question

opening IE from link label

  • Stef_T


    Hi,

    You are very near use following...

    System.Diagnostics.Process.Start("Explorer.exe", LinkLabel.Tag.ToString());


    Where LinkLabel.Tag could be www.microsoft.com

    Hope this help.



  • Gert Drapers - MSFT

    that has it fixed thanks


  • GopinathK

    plz mark the reply as answer

    best regards



  • opening IE from link label