Results 1 to 3 of 3

Thread: Internet Epxlorer object Issue

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    38

    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:
    1. Do While objbrowser.Busy = True
    2.   DoEvents
    3. 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

  2. #2
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    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.


  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    38

    Re: Internet Epxlorer object Issue

    Quote 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
  •  



Click Here to Expand Forum to Full Width