VB.NET - Load an RTF File into a RichTextBox Control



Load an RTF File into a RichTextBox Control

'Assembly: System.Windows.Forms.dll

'Namespace: System
'Namespace: Microsoft.VisualBasic
'Namespace: System.Windows.Forms

'Dim RTFControl AS System.Windows.Forms.RichTextBox
'Dim Filename as String = "c:\syntaxhelp.txt"

RTFControl.LoadFile(Filename)

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.