1) WB.Navigate(myURL) and capture the innerhtml in OnDocumentComplete,
for the first time calling WB.Navigate(myURL), it return the correct
data from myURL. But later on, all data are the same as the first one
(I am sure the server @ myURL has changed the content). So I try
2) var _flags :OleVariant;
_flags := (navNoHistory + navNoReadFromCache ) ;
WB.Navigate(myURL, _flags);
The same problem!!!!
3) var _flags :OleVariant;
_link :OLEVariant;
_flags := (navNoHistory + navNoReadFromCache ) ;
_link := myURL;
WB.Navigate(_link, _flags);
No help :)))
I have no idea what's wrong with the codes above, anyway, then I try
to use TIdHTTP
_http := TIdHTTP.Create(nil);
_http.Get(myURL);
And this will return the correct :) but TIdHTTP.Get(myURL) is a
blocking method, I wonder if there is any non-blocking component to
achieve what I need? And could anybody tell me what's wrong with
Navigate I used before?
Thanks