How can I tell if the window is done loading or if it's busy, to delay a task until it has finished? Also can this be done w/ the inet control(if an url is done loading)? If so can anyone give me some code for this?
Printable View
How can I tell if the window is done loading or if it's busy, to delay a task until it has finished? Also can this be done w/ the inet control(if an url is done loading)? If so can anyone give me some code for this?
Internet Explorer and the Web Browser control have an event called DocumentComplete that is raised when a web page is completly loaded.
The Web Browser control also has a read only property called Busy that returns True if it is.
The INet control has an event called StateChanged which get a State argument you can check. Look up the event in MSDN library for a complete list of the different states.
Best regards