Light Poster
7Feb2007,11:12   #11
kumarangopi's Avatar
I cant get you.
Go4Expert Founder
7Feb2007,12:43   #12
shabbir's Avatar
This one

Quote:
Originally Posted by shabbir
You should be using the thread with just one statement of FindWindow or FindWindowEx API.
Light Poster
7Feb2007,14:07   #13
kumarangopi's Avatar
Yes thats what iam using.I changed the code little.After navigating the url, i added code
do while objie.readystate < READYSTATE_COMPLETED
i=i+1
loop
This code just helps not to navigate till the current page is loaded.May be this helps little.
Go4Expert Founder
7Feb2007,14:29   #14
shabbir's Avatar
You dont need to loop through anything but just need to find if the window exists or not in a timer and also have a DoEvents so that the main loop does not gets blocked.
Light Poster
7Feb2007,16:49   #15
kumarangopi's Avatar
My code was approved, anyhow I will try what u said.One more query is that all this code is working with internet explorer only not with mozilla since microsoft internet controls is used.How to make this work with mozilla browser too?
Go4Expert Founder
7Feb2007,16:59   #16
shabbir's Avatar
Find Window should work for all the browser with some good pattern in title.