Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to convert a html string to txt or rtf.
Message
De
14/03/2003 09:25:11
 
 
À
13/03/2003 21:42:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00765687
Message ID:
00765819
Vues:
12
>Is there a command or activex control I can use to convert an html string to a txt or rtf?
>
>Thanks,
>
>-Greg

If you are just looking for the plain text inside a web page you can do

lo_ie = NEWOBJECT('InternetExplorer.Application')
lo_ie.Navigate2('http://univesalthread.com') && or local html file
DO WHILE lo_ie.Busy
DOEVENTS
ENDDO
? lo_ie.Document.Body.InnerText
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform