R
RgSystems
hi,
I have a little "big" problem:
i'm automatizing one word object from Visual Foxpro (but the languaje is not
important).
In my form i put this text:
oRange.Text = xtable.xfield
then, in the word object (that is visible to me), i can see the text i have
inserted: the text in the xfield field.
The problem is that the text in the field is formatted to RTF
especifications, and in the word document i can see this:
------------------------------------------------------------------------
{\rtf1\ansi\ansicpg1252\deff0\deflang3082{\fonttbl{\f0\fnil\fcharset0
Batang;}}
\viewkind4\uc1\pard\f0\fs18 MI CARR\b O ME L\b0 O ROBARON
\par
\par }
-------------------------------------------------------------------------
.... and i want to see:
MI CARRO ME LO ROBARON
(keys: "O ME L" are BOLD)
How could i insert RTF text in a word document (by automation), and mantein
this format ?
Thanks in avance
Roberto García AMrtín
Sorry for my english. i know it's very bad.
I have a little "big" problem:
i'm automatizing one word object from Visual Foxpro (but the languaje is not
important).
In my form i put this text:
oRange.Text = xtable.xfield
then, in the word object (that is visible to me), i can see the text i have
inserted: the text in the xfield field.
The problem is that the text in the field is formatted to RTF
especifications, and in the word document i can see this:
------------------------------------------------------------------------
{\rtf1\ansi\ansicpg1252\deff0\deflang3082{\fonttbl{\f0\fnil\fcharset0
Batang;}}
\viewkind4\uc1\pard\f0\fs18 MI CARR\b O ME L\b0 O ROBARON
\par
\par }
-------------------------------------------------------------------------
.... and i want to see:
MI CARRO ME LO ROBARON
(keys: "O ME L" are BOLD)
How could i insert RTF text in a word document (by automation), and mantein
this format ?
Thanks in avance
Roberto García AMrtín
Sorry for my english. i know it's very bad.