Results 1 to 2 of 2

Thread: Using hooked up internet explorer object

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Posts
    4

    Exclamation

    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")

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    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
  •  



Click Here to Expand Forum to Full Width