|
-
Jul 24th, 2009, 07:39 PM
#1
Thread Starter
Hyperactive Member
AutoDetecting Link in WPF
Hello to everyone, I'm having a lot of problems while trying to achieve the following:
I'm developing a Twitter client, and I'd like the update status text field to detect when ever the user wrote a link (for instance if the user entered google.com) insert an hyperlink right away.
I've been working really hard on this, and so far I get the links inserted into a RichtextBox, but whenever a link is located twice in the RichtextBox the link is inserted again between the first link.
Since I'm using a string finder system to a string in the RichtextBox and then check if it is a link or not, whenever I get two same link sin the RichtextBox the first link is located by the search.
I would appreciate if any body could help me, I wouldn't like to make the users manually insert links into the twitter status update field.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|