Example : How to Open a website in new page using Link label [Hyperlink Codes].
Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles
LinkLabel1.LinkClicked
Process.Start("https://www.google.com")
End Sub
------------- OR --------------
Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles
LinkLabel1.LinkClicked
System.Diagnostics.Process.Start("https://www.google.com")
End Sub
Example : How to Open another VB page using Link label [Hyperlink Codes]
Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles
LinkLabel1.LinkClicked
Form2.Show()
End Sub
0 Comments