Re: Parse HTML DOM document in console application
From: John Williams (johnwilliams_esquire_at_NOhotmailSPAM.com)
Date: 10/05/04
- Next message: Robert Johnson: "Re: Newbie: Code for ODBC connection to db on internet with VB6"
- Previous message: Bonj: "RE: Question about threads and win32 api's ?"
- In reply to: Charles Law: "Re: Parse HTML DOM document in console application"
- Next in thread: Charles Law: "Re: Parse HTML DOM document in console application"
- Reply: Charles Law: "Re: Parse HTML DOM document in console application"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 5 Oct 2004 16:49:08 +0100
"Charles Law" <blank@nowhere.com> wrote in message
news:uFhi$$sqEHA.3744@TK2MSFTNGP10.phx.gbl...
> Hi John
>
> I have made a simple console app that demonstrates the loading of HTML
from
> a url, based on the thread you found below. It works on my m/c, but gives
an
> unrelated error about being unable to set focus. Just ignore the error and
> it will continue normally.
>
> Let me know if you have problems getting the zip file and I will mail it
> instead.
>
> HTH
Charles, thanks for your reply and the sample code. Your code works fine
when run in the VS IDE, however when run from a command window it sits in
the loop:
Do Until objDocument.readyState = "complete"
Application.DoEvents()
Loop
because readyState is "loading", then "uninitialized", never "complete". If
I comment out Application.DoEvents(), readyState stays "loading". I don't
understand this!
Thanks.
- Next message: Robert Johnson: "Re: Newbie: Code for ODBC connection to db on internet with VB6"
- Previous message: Bonj: "RE: Question about threads and win32 api's ?"
- In reply to: Charles Law: "Re: Parse HTML DOM document in console application"
- Next in thread: Charles Law: "Re: Parse HTML DOM document in console application"
- Reply: Charles Law: "Re: Parse HTML DOM document in console application"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|