General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only