Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting html --> text document
Message
De
24/10/2002 12:39:43
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00710635
Message ID:
00714963
Vues:
32
>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
Fil
Voir

Click here to load this message in the networking platform