By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,666 Members | 1,369 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,666 IT Pros & Developers. It's quick & easy.

Help with Simple way to retrieve HTML pages

P: n/a
I know I can use
AxSHDocVw.AxWebBrowser browser.Navigate(...);
catch the
browser_DocumentComplete()
and retrieve using the page using
htm = (mshtml.HTMLDocument)browser.Document;

I am looking for a non-GUI way to just retrieve the web page.
I know that there is, I just can't seem to find/remember what it is.

Thanks,
Dave
Da**********@BellSouth.net
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
David,

You will want to take a look at the HttpWebRequest and HttpWebResponse
classes, as they will allow you to access resources that are handled through
HTTP.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"David Elliott" <Da**********@BellSouth.net> wrote in message
news:fd********************************@4ax.com...
I know I can use
AxSHDocVw.AxWebBrowser browser.Navigate(...);
catch the
browser_DocumentComplete()
and retrieve using the page using
htm = (mshtml.HTMLDocument)browser.Document;

I am looking for a non-GUI way to just retrieve the web page.
I know that there is, I just can't seem to find/remember what it is.

Thanks,
Dave
Da**********@BellSouth.net

Nov 13 '05 #2

P: n/a
A response was addressed to me and I am posting the answer.

HttpWebRequest and HttpWebResponse

Cheers,
Dave

On Wed, 16 Jul 2003 17:21:01 -0400, David Elliott <Da**********@BellSouth.net> wrote:
I know I can use
AxSHDocVw.AxWebBrowser browser.Navigate(...);
catch the
browser_DocumentComplete()
and retrieve using the page using
htm = (mshtml.HTMLDocument)browser.Document;

I am looking for a non-GUI way to just retrieve the web page.
I know that there is, I just can't seem to find/remember what it is.

Thanks,
Dave
Da**********@BellSouth.net

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.