|
-
Jul 25th, 2003, 09:41 PM
#1
Thread Starter
Junior Member
Link Label
I did some search on msdn but i didn't find anything relating to link label, could someone explain how it works:
I have a link label, how do i make it opens a website (say, www.microsoft.com) after the user clicks on it?
Thanks for help
-
Jul 25th, 2003, 10:09 PM
#2
I'm not exactly sure how it is for C# but for VB it would be
VB Code:
process.start("www.microsoft.com")
That's the shorthand, it's in system.Diagnostics.Process.Start()
Since it's a .NET function, I'm sure you can incorporate it into C#.
This way, it executes the URL, therefore opening it in the user's default web browser and not specifying Internet Explorer, or mozilla or netscape, ect...
Hope that helps
-
Jul 26th, 2003, 06:25 PM
#3
Sleep mode
Code:
System.Diagnostics.Process.Start(this.linkLabel1.Text);
-
Jul 26th, 2003, 06:50 PM
#4
Thread Starter
Junior Member
yeah thats the one im looking for thanks a lot
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|