Tag Archives: Linklabel control

How to browse drive through Linklabel in vb.net

 
The following example shows how to browse drive through Linklabel in vb.net.Example requires a LinkLabel control named LinkLabel1 on the windows form.

Private Sub LinkLabel1_Linkclicked(Byval sender as System.Object, Byval e As _
      System.Windows.Forms.Linklabellinkclickedeventargs)Handles LinkLabel1.Linkclicked
          LinkLabel1.Linkvisited = True
          System.Diagnostics.Process.Start("C:")
End Sub