Advertisement
2002VB Files/ File Controls/ Input/ Output #18606

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

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

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
'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"
Commenti originali (3)
Recuperato da Wayback Machine