LinkLable VB 2005  
Author Message
Frank104





PostPosted: Visual Basic General, LinkLable VB 2005 Top

How can I have a TextBox with an IP address and and have the linklabel take that Ip and execute the following: 

Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelClickedEventArgs) Handles LinkLabel.LinkClicked

System.Diagnostics.Process.Start(" http://www.hide-link.com/ ")

This is what I would like to do

System.Diagnostics.Process.Start(" http://www.hide-link.com/ ")

Thanks

Frank.



Visual Basic23  
 
 
DMan1





PostPosted: Visual Basic General, LinkLable VB 2005 Top

Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelClickedEventArgs) Handles LinkLabel.LinkClicked

DIm TheURL as String = "http://" & Textbox1.Text

System.Diagnostics.Process.Start(TheURL)

End Sub