views:

1013

answers:

2

I have a custom Jabber IM client and I'm having a problem with links. When something like http://something.com is entered I want it to show up as a link in the message window. The message window is a standard c# textbox. Is there a way to mark it as a link so that it can be clicked and open the webpage?

Thanks

A: 

This will get you started..

http://www.codeproject.com/KB/edit/RichTextBoxLinks.aspx

Good luck!

Ian P
+2  A: 

A RichTextBox can detect URL's, I don't think a regular TextBox can detect them. However you can always use a Single line RichTextBox for your input.

http://msdn.microsoft.com/en-us/library/f591a55w.aspx

ferrari fan