
RichText won't keep the formats?
I have created a small RTF file using WordPad and I can easily load it into
a VB Richtextbox control. I want to be able to edit my RTF file using code. The
problem is that the 'richtext' will not hold the current formatting even if I
only perform something simple like inserting a character in the middle of a word.
Example:
(Before editting)
My Name <----- 18pt
My Address <----- 18pt
My Phone <----- 18pt
Hello to everyone in the world. <------ 12pt
==== Procedure: insert 'zz' into 'everyone'
(After editting)
My Name <----- 18pt
My Address <----- 18pt
My Phone <----- 18pt
Hello to everyzzone in the world. <------ 18pt****
It all becomes 18pt! Any ideas?
Thanks for the help.
Marty