i need someone to click on a link label thing and it opens up default browser and goes to a website... help?
Printable View
i need someone to click on a link label thing and it opens up default browser and goes to a website... help?
Like this :
VB Code:
Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked Process.Start(Me.LinkLabel1.Text) End Sub
And it should "Imports System.Diagnostics", right?
No need . As System.Diagnostics is imported by default . You can see default namespaces like this :
Right click ProjectName (in the solution explorer) ---->Properties---->Imports (item on the left side) . :p