Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert RTF files to TXT format
Message
 
 
To
02/10/2001 14:59:39
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00563075
Message ID:
00563212
Views:
14
>>You can use RichText ActiveX control that comes with VFP
>>
>>loRTF = CREATEOBJECT("RICHTEXT.RichTextCtrl.1")
>>loRTF.TextRTF = FILETOSTR( GETFILE("RTF") )
>>STRTOFILE( loRTF.Text, "test.txt")
>>MODIFY FILE test.txt
>>
>>
>>
>>>Does anyone know of a third-party product that will convert RTF files to TXT format? We really need a program that will run on its own (a batch program) to convert mass quantities of files on a daily basis.
>>>
>>>TIA!
>
>Jozaf Thanks for the help, but i get an error that filetostr.prg does not exist! Where can i find the reference to this command? or is it part of the RTF activex control?

It's a VFP function starting VFP6.0
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform