RichTextBox displaying RTF with hyperlinks?
Posted on 2005-05-10
I want to read an RTF file, parse it to insert hyperlinks at certain points, and display it in a RichTextBox.
The RTF file is an activity journal. In that journal, there are times and dates mentioned. I want to turn those time/dates into links that open up windows showing data collected at those times.
I've got a RichTextBox displaying the RTF. I can use Word to manually insert a link, and my LinkClicked event is being fired. I just don't know how to parse the file and modify some of the text entries to contain links in the control.