Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rich text
Message
De
08/07/1998 02:27:47
 
 
À
15/06/1998 08:48:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00107332
Message ID:
00115164
Vues:
19
>>>Hi,
>>>
>>>Is it possible to save a Rich Text Format file into Simple Text file in Visual Foxpro 5?
>>>
>>>Nick,
>>
>>Hi Nick,
>>
>>try this:
>>create an instance of RichEdit OCX control and put your RTF text to its property TextRTF a you'll get a plaint text in its Text property.
>>
>>Sincerely,
>>Petr
>
>I need to save the information were is was found.
>I this case in the same directory.
>
>What i need to do is 1)Open the RTF 2)Save it as plain text in the same directory.
>
>Thanks
>Nick,

Hi Nick,
1) create some form and put an RichText OCX on it.
2) read your RTF text into some variable (e.g. cRTFTEXT)
3) make this: ThisForm.RTFOCX.TextRTF = cRTFTEXT
4) and now you have a plain text in the property "Text" of ThisForm.RTFOCX
5) save ThisForm.RTFOCX.Text into the plain ASCII file

Sincerely,
Petr Valach
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform