Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rich text
Message
From
08/07/1998 02:27:47
 
 
To
15/06/1998 08:48:37
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00107332
Message ID:
00115164
Views:
18
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform