Rich Edit + Hyperlinks = ??? 
Author Message
 Rich Edit + Hyperlinks = ???

Please help!

I've been playing with the Microsoft Rich Edit Box in VB.   I have it doing
all types of neat stuff (changing text color, bold, etc) however I would
also like to have the Rich Edit box support hyperlinks.

For example, when the user types in www.vt.edu (or any http:// address
string) the edit box underlines the text and makes it "clickable."  When the
user clicks on this text a browser is launched that displays the web page.
I am also open to hooking the rich edit box or responding to events to
launch the browser myself.

The Microsoft documentation says that the Rich Edit Version 2.0 supports
"automatic URL recognition."
http://www.*-*-*.com/
tform/commctls/richedit/richeditcontrols/aboutricheditcontrols.asp

However I can't seem to get it to work.  Any suggestions for a way to enable
this in my rich edit boxes?

Thanks
Shane Kunkle



Sat, 01 Jan 2005 23:34:05 GMT  
 Rich Edit + Hyperlinks = ???
There is an example here

http://216.26.168.92/tips/tip149.html

Grant

Quote:

> Please help!

> I've been playing with the Microsoft Rich Edit Box in VB.   I have it doing
> all types of neat stuff (changing text color, bold, etc) however I would
> also like to have the Rich Edit box support hyperlinks.

> For example, when the user types in www.vt.edu (or any http:// address
> string) the edit box underlines the text and makes it "clickable."  When the
> user clicks on this text a browser is launched that displays the web page.
> I am also open to hooking the rich edit box or responding to events to
> launch the browser myself.

> The Microsoft documentation says that the Rich Edit Version 2.0 supports
> "automatic URL recognition."
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shel...
> tform/commctls/richedit/richeditcontrols/aboutricheditcontrols.asp

> However I can't seem to get it to work.  Any suggestions for a way to enable
> this in my rich edit boxes?

> Thanks
> Shane Kunkle




Sun, 02 Jan 2005 21:13:13 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Rich Edit + Hyperlinks = ???

2. Making a hyperlink in a rich text box

3. Rich Textbox -- hyperlink

4. Rich Text Box and Document Hyperlinks

5. Hyperlink in rich text control

6. Hyperlink in rich text control

7. Hyperlink in (Rich)Textbox

8. Hyperlink in rich text control

9. Access97 - Editing table hyperlink field by code

10. Formnames in titlebars - Edit hyperlinks

11. Batch edit/update hyperlinks?

12. "Rich Edit Controls"

 

 
Powered by phpBB® Forum Software