How can I open a hyperlink in a link click from my form in C#.net [modified]
-
Hi In my C#.net Inventory application in my contact us form I want to place our company website name and when clicked, it must be opened in a web page
Thanks & Regards
modified on Monday, June 30, 2008 7:29 AM
-
Hi In my C#.net Inventory application in my contact us form I want to place our company website name and when clicked, it must be opened in a web page
Thanks & Regards
modified on Monday, June 30, 2008 7:29 AM
Hi Take time and Explain Exacly what you want. Thanks
Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za
-
Hi In my C#.net Inventory application in my contact us form I want to place our company website name and when clicked, it must be opened in a web page
Thanks & Regards
modified on Monday, June 30, 2008 7:29 AM
Add a LinkLabel in the designer or through code. Set Text and Tag properties in the designer or in code:
linkLabel1.Text = "Code Project";
linkLabel1.Tag = "www.codeproject.com";Add a Click event handler to your LinkLabel and in it put:
System.Diagnostics.Process.Start((string)linkLabel1.Tag);
Dave
-
Add a LinkLabel in the designer or through code. Set Text and Tag properties in the designer or in code:
linkLabel1.Text = "Code Project";
linkLabel1.Tag = "www.codeproject.com";Add a Click event handler to your LinkLabel and in it put:
System.Diagnostics.Process.Start((string)linkLabel1.Tag);
Dave
I didn't think of that type of concept for the Tag property. kudos
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios Discounted or Free Software for Students: DreamSpark - downloads.channel8.msdn.com MSDN Academic Alliance - www.msdnaa.com