|
-
April 30th, 2001, 10:43 AM
#1
Rich Text problem....
Hi!
I've got an application that accesses a database - one of the fields I present in my app is a richtext edit box. If I open an already existant file from the database, it shows up fine in the text box. If I save it however or create a new file from within my application, when next I open the file in my app. the text in the richtext edit box is no longer comprehensible... I see ugly tags like I would if I opened up a Word document in Notepad... Tags for the font, the size, etc....
What could I have done wrong? I could I fix this?
Thank you!
-
April 30th, 2001, 10:55 AM
#2
Re: Rich Text problem....
When you save it use the the rtfText option to save it as text instead of an RTF format i.e.
'//Load The Rich Text Box With The File
rtbTest.LoadFile File, rtfText
Also do the same when opening it i.e.
'//Save Changes to File
rtbTest.SaveFile Path, rtfText
Kris
Software Engineer
Phoenix,AZ
Kris
Software Engineer
Phoenix, AZ USA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|