Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform htm document to mht document WITH IE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01049478
Message ID:
01050355
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
Podrías hacerlo así:


cStr = ""

Declare Integer
ShellExecute In "Shell32.dll" ;
INTEGER HWnd, StringlpVerb, ;
STRING lpFile, String lpParameters, ;
STRING lpDirectory, Long nShowCmd

cArchivo = Sys(2015) + ".mht"
cUrl = "http://www.davphantom.net/modulo.asp"

oMSG = Createobject( "CDO.Message")
oMSG.CreateMHTMLBody(cUrl)
cStr = oMSG.getstream
cStr.SaveToFile(cArchivo, 1)

ShellExecute(0, "Open", cArchivo, "","", 0)

Release oMSG

--------------------------------------------------

Crear archivo MHT utilizando CDO
http://www.davphantom.net/consultar.asp?id=275&op=1
David Amador Tapia
WebMaster "La Web de Davphantom"
www.davphantom.net
Cartagena. Colombia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform