Re: programmatically capture web page as internet archive (MHT)

From: Bruce Hensley (bhensley_at_bechtel.com)
Date: 05/13/04


Date: Thu, 13 May 2004 11:43:33 -0700

Viatcheslav,

I see that you can append querystring info to the URL to perform a GET, but
is it possible to use this method to request a response from an ASP page
that responds to a form POST rather than a GET? If so, how?

Thanks,
Bruce

"Viatcheslav V. Vassiliev" <msnewsgroup@www-sharp.com> wrote in message
news:OXwMdINOEHA.2952@TK2MSFTNGP12.phx.gbl...
> 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
> >
> >
>
>



Relevant Pages

  • Re: programmatically capture web page as internet archive (MHT)
    ... >> We have some ASP pages on the corporate intranet that report various ... >> reports each night about midnight by running a scheduled script. ... >> We've been able to build a kludge using Word VBA to generate an HTML ... but it requires some cleanup after capture. ...
    (microsoft.public.scripting.wsh)
  • Re: programmatically capture web page as internet archive (MHT)
    ... > We have some ASP pages on the corporate intranet that report various ... > reports each night about midnight by running a scheduled script. ... > capture a web page, preferably to an internet archive file. ... Server side Office automation is neither recommended nor ...
    (microsoft.public.scripting.wsh)
  • programmatically capture web page as internet archive (MHT)
    ... We have some ASP pages on the corporate intranet that report various ... We've been unsuccessful at finding any examples of how a script can capture ... preferably to an internet archive file. ...
    (microsoft.public.scripting.wsh)
  • Re: programmatically capture web page as internet archive (MHT)
    ... capture the page as it looked, that is, with all the linked images. ... > returned by the Open method. ... >> We have some ASP pages on the corporate intranet that report various ... >> each night about midnight by running a scheduled script. ...
    (microsoft.public.scripting.wsh)
  • Re: Removing Rows for Printing
    ... One is to clear a sheet of all input cells leaving ... .PrintOut ' for testing use .PrintPreview ... I attached the script to the Print Button. ... I hid the Report worksheet. ...
    (microsoft.public.excel.worksheet.functions)