Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Browser Control delay
Message
From
20/01/2001 19:10:03
Bob Tracy
Independent Consultant
Driftwood, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Web Browser Control delay
Miscellaneous
Thread ID:
00466292
Message ID:
00466292
Views:
43
I've got an app that uses the Web Browser Control to display some XML and text on a form. When I give it the Navigate2(filename) on my development machine (W2K/P3/450/128), it works just fine. On my test machine (W2K/P2/400/128) I had to throw in a delay (FOR N = 1000000/NEXT n) after issuing the Navigate2 command or it would never display the loaded document. I checked the DownloadComplete Event and it was firing (without the delay) but nothing was being displayed. I got the clue for the delay since the crazy thing would work every time in the debug mode if I had a breakpoint prior to the Navigate2 and then single stepped through the loading.

The IE5 versions are slightly different (5.00.3103.100 on the development machine and 5.50.4134 on the test machine) and a corresponding difference in versions of the SHDOCVW dll.

I've got the thing working with that stupid delay but I HATE programming like that! Anyone have any ideas or has seen this before?
Bob Tracy

Never engage in a battle of wits if you're only half armed.
Next
Reply
Map
View

Click here to load this message in the networking platform