Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Browser Control delay
Message
 
To
21/01/2001 11:53:13
Bob Tracy
Independent Consultant
Driftwood, Texas, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00466292
Message ID:
00466403
Views:
10
>>lncomplete=4
>>do while readystate<>lncomplete
>>enddo
>
>Well, it was even easier than that but you gave me the clue to the solution. I had a form Refresh() call right after the Navigate2 and this seemed to be causing the problem. I still don't know why it worked on one machine and not the other, but moving the Refresh() to the browser DocumentComplete event made the problem go away.

Yeah I've written a few small apps that use the wbcontrol and the documentcomplete property USUALLY works for what I need. Sometimes you have to do a loop to check for the existence of the object that documentcomplete occurs in though otherwise, it will bomb from time-to-time.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform