Help with Simple way to retrieve HTML pages

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Elliott

    Help with Simple way to retrieve HTML pages

    I know I can use
    AxSHDocVw.AxWeb Browser browser.Navigat e(...);
    catch the
    browser_Documen tComplete()
    and retrieve using the page using
    htm = (mshtml.HTMLDoc ument)browser.D ocument;

    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
    DavidElliott@Be llSouth.net


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Help with Simple way to retrieve HTML pages

    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]
    - nicholas.paldin o@exisconsultin g.com

    "David Elliott" <DavidElliott@B ellSouth.net> wrote in message
    news:fdgbhvg3ec cg0ig9sp54jqk4j df6ve63t3@4ax.c om...[color=blue]
    > I know I can use
    > AxSHDocVw.AxWeb Browser browser.Navigat e(...);
    > catch the
    > browser_Documen tComplete()
    > and retrieve using the page using
    > htm = (mshtml.HTMLDoc ument)browser.D ocument;
    >
    > 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
    > DavidElliott@Be llSouth.net
    >
    >[/color]


    Comment

    • David Elliott

      #3
      Re: Help with Simple way to retrieve HTML pages

      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 <DavidElliott@B ellSouth.net> wrote:
      [color=blue]
      >I know I can use
      > AxSHDocVw.AxWeb Browser browser.Navigat e(...);
      >catch the
      > browser_Documen tComplete()
      >and retrieve using the page using
      > htm = (mshtml.HTMLDoc ument)browser.D ocument;
      >
      >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
      >DavidElliott@B ellSouth.net
      >[/color]


      Comment

      Working...