Wierd Codes in My TextBoxes

  • Thread starter Thread starter Remulac
  • Start date Start date
R

Remulac

I've written a VB 6.0 program that uses Access as a back-end. Things
work pretty well, but I often retrieve data into large text fields
that contains formatting codes like this, for example:

{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}}

Somehow these codes get written into the database when I save and/or
update a record. It seems pretty random as far as when it does or
does not do it.

Does anyone have an idea as to how I can prevent this, and also how I
can clean up the records with the codes?

Thanks.
 
* (e-mail address removed) (Remulac) scripsit:
I've written a VB 6.0 program that uses Access as a back-end. Things
work pretty well, but I often retrieve data into large text fields
that contains formatting codes like this, for example:

{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}}

This is a VB.NET language group. You will more likely get an answer if
you post your question to one of the VB6 groups (microsoft.public.vb.*).

The code you posted above is RTF code. You can use VB6's RichTextBox
control to display this text.
 
Back
Top