Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleSave and restore Rich Text File data
KeywordsRich Text, RichTextBox, text, file
CategoriesControls
 
Use the RichTextBox's SaveFile and LoadFile methods to save and restore text in Rich Text format.
 
Private Sub cmdSave_Click()
    RichTextBox1.SaveFile txtFileName.Text, rtfRTF
    RichTextBox1.Text = ""
End Sub

Private Sub cmdLoad_Click()
    RichTextBox1.LoadFile txtFileName.Text, rtfRTF
End Sub
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated