Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting html --> text document
Message
From
24/10/2002 12:39:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00710635
Message ID:
00714963
Views:
31
>Hi Nancy,
>
>>Again, the question is how to save the html page into file instead of using the Internet Explorer - File - Save as...?
>
>>Following up on my message Message ID 710805 in this thread, you can
>
>>lcText = oDoc.documentElement.innerText
>>STRTOFILE( lcText, "MyText.TXT" )
>
>I tried this code can't save into html file format.

No, sorry, the thread was about saving html to text, so that's what I was going with.

>
>Anyway I can save the html pages into .html format accordingly by command line?

Ah. Different question than the topic. You might want to check out the Internet classes in the FoxPro Foundation Classes. Easiest way to get there is to open Tools | Component Gallery. Go to FFC, and internet controls. They will likely have examples of what you want to do.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform