Re: programmatically capture web page as internet archive (MHT)
From: Viatcheslav V. Vassiliev (msnewsgroup_at_www-sharp.com)
Date: 05/13/04
- Next message: helzh: "Creation Contact in an active directory from an exel file"
- Previous message: Joe Fawcett: "Re: WSH and XML Parser"
- In reply to: Bruce Hensley: "programmatically capture web page as internet archive (MHT)"
- Next in thread: Bruce Hensley: "Re: programmatically capture web page as internet archive (MHT)"
- Reply: Bruce Hensley: "Re: programmatically capture web page as internet archive (MHT)"
- Reply: Bruce Hensley: "Re: programmatically capture web page as internet archive (MHT)"
- Reply: Michael Harris \(MVP\): "Re: programmatically capture web page as internet archive (MHT)"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 May 2004 14:07:34 +0400
On Win2000+:
dim message, conf, stream
set message = CreateObject("CDO.Message")
set conf = CreateObject("CDO.Configuration")
set message.Configuration = conf
message.CreateMHTMLBody "http://www-sharp.com"
set stream = message.GetStream()
stream.SaveToFile "test.mht"
//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE
"Bruce Hensley" <bhensley@bechtel.com> сообщил/сообщила в новостях
следующее: news:%235peInGOEHA.4044@TK2MSFTNGP10.phx.gbl...
> We have some ASP pages on the corporate intranet that report various
> business statistics. We would like to capture a snapshot of these reports
> each night about midnight by running a scheduled script.
>
> We've been unsuccessful at finding any examples of how a script can
capture
> a web page, preferably to an internet archive file (MHT).
>
> We've been able to build a kludge using Word VBA to generate an HTML file,
> but it requires some cleanup after capture. We were hoping for something
> that might do the equivalent of IE's File>Save As>Web Archive, but from
> script.
>
> Any help would be appreciated.
>
> Thanks,
> Bruce
>
>
- Next message: helzh: "Creation Contact in an active directory from an exel file"
- Previous message: Joe Fawcett: "Re: WSH and XML Parser"
- In reply to: Bruce Hensley: "programmatically capture web page as internet archive (MHT)"
- Next in thread: Bruce Hensley: "Re: programmatically capture web page as internet archive (MHT)"
- Reply: Bruce Hensley: "Re: programmatically capture web page as internet archive (MHT)"
- Reply: Bruce Hensley: "Re: programmatically capture web page as internet archive (MHT)"
- Reply: Michael Harris \(MVP\): "Re: programmatically capture web page as internet archive (MHT)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|