views:

617

answers:

1

Internet Explorer can save its content as an MHTML file using the "Save As..." menu command. Is this feature exposed by its COM interface?

+1  A: 

Yes.

It is.

Try something like:

WebBrowser.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER

BTW to do MHT conversion manually, check out the code by Jeff Atwood.

Niyaz