Hi guys...
is it possible to wait for an event result within a sub???
Ie:
Ussing a webbrowser object, call the navigate method, and wait for it to raise the navigated event in order to retrieve some info...
I know that i can do it with cascating subs....sub is it possible to without leaving the same sub?
If you need to do this then your program structure is probably not optimal. The problem is that the event sub needs to run on the main thread and your call to the navigate method is also on this thread so you need to exit your sub so that the message loop can run to process the event code.
Thanks andrew...
I need to re-think all the aproach....
DllToDate relies on a lot of navigated events, so I'm already using flags, but it will be a bit more easyer now that I know HOW to DOWNLOAD a file from the restricted area...