how to find a page is completely loaded

chidambaram

Well-known member
Joined
Dec 27, 2007
Messages
62
Location
Chennai,India
Programming Experience
Beginner
Hi,

I am working in Visual Studio 2003.

I am automating one web site.

I used an internet explorer object to open that site. Its working fine.

When i click a button in that site, new page is loading.

How can i know that a page is completely loaded?

Thanks in advance...
 
Hi,

I am working in Visual Studio 2003.

I am automating one web site.

I used an internet explorer object to open that site. Its working fine.

When i click a button in that site, new page is loading.

How can i know that a page is completely loaded?

Thanks in advance...
What control are you using? I only know what events the .Net 2.0 web browser control has and there isn't one built into .Net 1.1
 
My code is
Imports SHDocVw
dim objExplorer As New SHDocVw.InternetExplorer
objExplorer.Navigate("https://www.google.com")
objExplorer.Visible = True
statustext = objExplorer.StatusText

how can i find that page is loaded completely?
 
You may be able to declare your objExplorer with the WithEvents and look for a page complete event but it would be easier to use the built in web browser control if possible.
 
Back
Top