|
-
Feb 18th, 2001, 04:00 PM
#1
Thread Starter
New Member
Hi i want to save an html documnet in my hooked up explorer object, i want it to be done automatically without bothering the user, and i want it to save it as mht and NOT html
i tried to do it myself with the following code but it seems like the explorer is still asks for OK and saves it as HTMl file although the ending is of an mht file...
please help me
the code:
after creating the object of the explorer (named MIE as mshtmldocvw and successfully entering a site ....)
MIe.ExecWB(OLECMDID_SAVEAS, OLECMDEXECOPT_DODEFAULT & OLECMDEXECOPT_DONTPROMPTUSER, "C:\Veryinteresting.mht")
-
Feb 20th, 2001, 12:11 AM
#2
Fanatic Member
Its MUCHO MUCHO easier to download the OCX from MS (its free) and use that as its SPECIFICALLY designed to do what you want......
download
http://officeupdate.microsoft.com/20...ls/Mhtml32.htm
reconvert back from mht to multiple files
http://support.microsoft.com/support.../Q251/3/36.ASP
DocZaf
{:->
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|