Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rich Text Box URL 1

Status
Not open for further replies.

Crystalyzer

Technical User
Mar 28, 2003
218
Hi,

I have a rich text box that I would like to store URL's in and have set Detect URL's to true. All seems ok, however I would likd to be able to click the text in the rich text box and be taken to the website. IS this possible?

Thanks


Thanks and best regards,
-Lloyd
 
Private Sub richTextBox1_LinkClicked(ByVal sender As Object, ByVal e As System.Windows.Forms.LinkClickedEventArgs) Handles richTextBox1.LinkClicked
System.Diagnostics.Process.Start(e.LinkText)
End Sub

 
chmohan

Worked like a charm!

Thanks!!!

Thanks and best regards,
-Lloyd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top