regards
Chris
e.g
Set httpreqversion = New WinHttpRequest
httpreqversion.Open "GET", "htt://yourpage", True
httpreqversion.Send
httpreqversion.WaitForResponse (20)
source = httpreqversion.ResponseText 'string which will store teh response
--
Gaurav Creations
"ShepardBerry" wrote:
> Did you ever get this figured out. I'm trying to do the same thing and it's
> driving me nuts trying to get the source of the page.
Don't know if you found a solution but this posting might interest you -
works for me anyway - pops up a dialog box but you might be able to
suppress that with a bit of experimentation ???
Cheers Dave H.
From: "Nuno Pinto" <nuno...@estratega.pt>
Subject: Re: WebBrowser Control + SAVEAS
Date: Thursday, 16 September 2004 12:02 AM
Nora wrote:
> Hi,
> I was wondering if anybody could help me.. I am currently displaying
a web page in a WebBrowser control (in Microsoft Access 2002), and then
I want to do a 'Save As' to save the file to a new location. I have the
following line of code which works fine:
> WebBrowser.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER, "", ""
>
> My problem is that I need to get the full path of the new location of
the file, and I can't seem to figure it out. I would appreciate any advice.
>
> Thanks,
> Nora
Hi,
I use one thing: the IHTMLDocument2 interface found in the Microsoft
HTML Object Library.
Example:
...
Dim doc as IHTMLDocument2
Set doc = WebBrowser.document
doc.ExecCommand "Saveas", False, doc.URL
...