Dynadot

[VB.NET] Wait until, or similar method?

Spaceship Spaceship
Watch
Impact
1
I have a web browser named AxWebBrowser1. The command I use to navigate to another page is AxWebBrowser1.Navigate, but it doesn't fully wait until the page is loaded to go on to the next command.

Is there any wait function or loop I can do to wait until the browser is fully loaded, and then go to the next command?

AxWebBrowser.Busy is also a function.


Thanks :)
ralxz
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Try an If AxWebBrowser.Loaded property, or maybe a Done property.

Or, just use If AxWebBrowser.Busy = False
 
0
•••
The problem with the IF statement is that if it isn't loaded, then it will skip the command completely. I want it to wait or stall until it fully loads -then- run the next command.
 
0
•••
I never heared of this browser. Whats tha link to this?
 
0
•••
lilgee, this is a control name in a programming environment.

raxlz - Use a While Loop... like:

Do While ControlName.Busy = False
'Statements
Loop

See if that works...
 
0
•••
compuXP said:
lilgee, this is a control name in a programming environment.

raxlz - Use a While Loop... like:

Do While ControlName.Busy = False
'Statements
Loop

See if that works...

O, ok. sorry. Me feel stupid.
 
0
•••
compuXP said:
lilgee, this is a control name in a programming environment.

raxlz - Use a While Loop... like:

Do While ControlName.Busy = False
'Statements
Loop

See if that works...
The problem with this is that I'll have to enter almost the entire program in these loops.

Also, I don't want to make a loop. I just want it to wait until it isn't busy (false), and then move on.
 
0
•••
Not sure then :-/ Sorry....

Btw, your signature is just ASKING to infiltrate your inbox with spam mail.
 
0
•••
compuXP said:
Not sure then :-/ Sorry....

Btw, your signature is just ASKING to infiltrate your inbox with spam mail.
Alright, thanks anyway.

(signature changed :X )
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back