VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A GOOD WAY TO: Save&Load a Rich Text Box contents

by ThUgGy (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

This code is VERY usefull! It can load a files contents into a Rich Text Box and also save the contents!

Rate A GOOD WAY TO: Save&Load a Rich Text Box contents

'Add a Rich Text Box to your project first. Then read below.
'To save a rich text box:
RichTextBox1.savefile "file.txt"
'To load a rich text box:
RichTextBox1.loadfile "file.txt"

Download this snippet    Add to My Saved Code

A GOOD WAY TO: Save&Load a Rich Text Box contents Comments

No comments have been posted about A GOOD WAY TO: Save&Load a Rich Text Box contents. Why not be the first to post a comment about A GOOD WAY TO: Save&Load a Rich Text Box contents.

Post your comment

Subject:
Message:
0/1000 characters