This is a known problem with VB5. Look at thread222-49473 for a solution. (Although the question in this thrad was for another control, the answer applies equally well to the use of the RichTextBox) _________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]