Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform htm document to mht document WITH IE
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01049478
Message ID:
01050355
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform