List Info

Thread: C-Sharp (C#) Group: C# chat program. How to enable hyperlnks in typed text




C-Sharp (C#) Group: C# chat program. How to enable hyperlnks in typed text
country flaguser name
United States
2007-05-22 10:30:16
hi all,

I have a tcp/ip chat program and cannot figure out how to
enable
hyperlinks if someone types in a URL.

Basically, if some sends me a message with h
ttp://www.codeproject.com/useritems/chatserver.asp
how do I recognize this as a URL that will launch a web
browser when I
click on it?

Thanks,
Jeff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://g
roups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---


C-Sharp (C#) Group: Re: C# chat program. How to enable hyperlnks in typed text
user name
2007-05-22 11:15:16
You will need to use regex and parse out any potential links and turn them into clickable links.  For some good example regex patterns, I recommend http://www.regexlibrary.com

 
On 5/22/07, Jeff < jman_xpyahoo.com">jman_xpyahoo.com> wrote:

hi all,

I have a tcp/ip chat program and cannot figure out how to enable
hyperlinks if someone types in a URL.

Basically, if some sends me a message with http://www.codeproject.com/useritems/chatserver.asp
how do I recognize this as a URL that will launch a web browser when I
click on it?

Thanks,
Jeff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )