Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
500MB 27GB Web Hosting - $9.95/Month
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
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-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated