Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Saving Webpage using MS Internet Control

30 views
Skip to first unread message

Abhishek

unread,
Mar 30, 2005, 2:08:23 AM3/30/05
to
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.


Jon Kennedy

unread,
Mar 30, 2005, 5:04:37 PM3/30/05
to
For a better, faster response, I would try and post this query to one of the
programming newsgroups - such as:
news://msnews.microsoft.com/microsoft.public.inetsdk.programming.scripting.webbrowser_ctl
news://msnews.microsoft.com/microsoft.public.inetsdk.programming.scripting.vbscript
*news://msnews.microsoft.com/microsoft.public.windows.inetexplorer.ie5.programming.xxxxxx
*news://msnews.microsoft.com/microsoft.public.windows.inetexplorer.ie55.programming.xxxxxx
news://msnews.microsoft.com/microsoft.public.frontpage.programming.vba
*multiple groups in this hierarchy.
--

Jon R. Kennedy
Charlotte, NC, USA
jken...@carolina.rr.com

"Abhishek" <abhi_n...@rediffmail.com> wrote in message
news:uzHvhYPN...@tk2msftngp13.phx.gbl...

Abhishek

unread,
Mar 31, 2005, 12:58:00 AM3/31/05
to
0 new messages