Re: Saving Webpage using MS Internet Control
- From: "Cristian Amarie" <cristianamarie@xxxxxxxxxxx>
- Date: Fri, 1 Apr 2005 14:24:17 +0300
http://www.delphidabbler.com/articles.php?article=14
Although the sample code is Delphi, it may help.
Probably you'll have to use a type library and use IPersistStreamInit to
save the full HTML file.
Cristian Amarie
"Abhishek" <abhi_narulkar@xxxxxxxxxxxxxx> wrote in message
news:%23bYo2VbNFHA.580@xxxxxxxxxxxxxxxxxxxxxxx
> Hello,
> I would like to know how can I download html files from the
> internet and save them programmatically. I want to perform
> the task in VBA. Currently I am using Microsoft Internet Controls shipped
> with Internet Explorer and the ExecWB method supported.
> I was able to invoke the saveas dialog using the same, but I would like
> that
> to happen automatically without user intervention.
> Example :
> ie.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER,
> "C:\Temp\Testing.htm"
>
> Another problem is that the resources embedded in the HTML are not
> downloaded using this mechanism.
> I would want a functionality similar to IE SaveAs Option.
> Any guidance would be helpful.
>
> Thanks,
> Abhishek.
>
>
>
.
- Follow-Ups:
- Re: Saving Webpage using MS Internet Control
- From: Abhishek
- Re: Saving Webpage using MS Internet Control
- Prev by Date: Re: render html to image without browser window
- Next by Date: How to bypass cross domain security checking?
- Previous by thread: render html to image without browser window
- Next by thread: Re: Saving Webpage using MS Internet Control
- Index(es):
Relevant Pages
|