Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to convert a html string to txt or rtf.
Message
From
14/03/2003 09:25:11
 
 
To
13/03/2003 21:42:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00765687
Message ID:
00765819
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform