lilgirl Posted April 11, 2004 Posted April 11, 2004 Hi, I have a RichTextBox that contains links to files in my system directory, i.e. c:\db\files. I would like to display these file paths as clickable links similar to how the detectURLs feature creates clickable links for URLS like http://www.yahoo.com. Is there a way to do this? Thanks. Quote
AlexCode Posted April 11, 2004 Posted April 11, 2004 This nice work from "the guys" will cover your needs... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskdisplayingweb-stylelinkswithwindowsformsrichtextboxcontrol.asp Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
lilgirl Posted April 11, 2004 Author Posted April 11, 2004 uhh..yea...thanks..but my question was about non-urls like system file paths..those are what i want to show as links. in other words, something like this: c:\test\db and not something like: http://www.yahoo.com. is this possible?? :confused: Quote
AlexCode Posted April 11, 2004 Posted April 11, 2004 I'm sorry I didn't read you well... I think you just have to code it your self just like Microsoft did with Web Links and throw a new event... I don't see any other way... Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.