Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pulling text from an RTF File
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01003428
Message ID:
01003495
Vues:
29
This message has been marked as the solution to the initial question of the thread.
oRich = CreateObject("RICHTEXT.RichtextCtrl.1")

oRich.TextRTF = YourRTFFormattedText

? oRich.Text && see it as plain text
? oRich.TextRTF && see it as RTF text
You can put that code in a scan loop. If you have files on disk use ADIR() to give you an array of filenames to iterate over. You can use filetostr() to get the file content.

>If we want to loop through RTF files and pull their text out and put them in a memo field of a table without stopping, how would we do that?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform