Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement