Richtextbox: Hyperlink embedded in text problem
Posted on 2010-11-16
I have a problem with a richtextbox control (programming environment: VB.NET + VS2500).
Here is the scenario:
I have 2 different applications, each containing a winform with a richtextbox control.
In one application if I copy some text that contains an embedded hyperlink from - let's say - a web page, when I paste such text in the richtextbox the hyperlink will remain embedded in the text (just like in the original web page).
In the other application if I paste the same text (copied from the web page) the hyperlink is no longer embedded in the text. Instead it appears next to the text, like in this example: my_text_with_embeeded_link<http://www.mysite.com>
Both RTF controls have the exact same settings (properties), so I really don't understand what's going on here.