|
-
Apr 12th, 2006, 05:16 AM
#1
Thread Starter
Member
Internet Epxlorer object Issue
Hi all. VBForums have been helping me a lot last days... but i'm stuck in this problem.
I've a loop, and inside that loop, wich is for every regist in my database, I execute a link in the IExplore object, which returns a string into it. Then, i copy the string inside the object into a vb string, do my operations, then move to the next regist and do the loop again.
The trouble is:
When i make the object browser navigate, first time it return as error when cathing the browser result into the string, because the code procedes without the browser finish his operations.
I've tryed this:
VB Code:
Do While objbrowser.Busy = True
DoEvents
Loop
And it loops for ever and ever and ever...
I've tried the Sleep function... and as i thought, it freez all the code.
And i've tried either the NavigateComplete procedure, of the ObjBrowser, but it never trigers, when executing code.
So... i'm stuck
Is there anyway to only procede executing the code, when the ObjBrowser.Navigate event finish?
Ty in advance
-
Apr 12th, 2006, 05:42 AM
#2
Re: Internet Epxlorer object Issue
remove the DoEvents and check it ....
If an answer to your question has been helpful, then please, Rate it!
Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.
-
Apr 12th, 2006, 10:20 AM
#3
Thread Starter
Member
Re: Internet Epxlorer object Issue
 Originally Posted by ganeshmoorthy
remove the DoEvents and check it ....
Same thing... seems the loop block the objiexplorer from runing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|