Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Viewing PDF In IE Control
Message
 
To
22/04/2008 18:54:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01312276
Message ID:
01312564
Views:
21
>I would add a limit of time in this loop:
>
>
>LOCAL lnSecs, lnLimitTime
>lnSecs = SECONDS()
>lnLimitTime = 5 && 5 seconds
>
>DO WHILE (Thisform.oWB.OBJECT.Busy OR Thisform.oWB.OBJECT.ReadyState <> 4)
>   IF SECONDS() - lnSecs > lnLimitTime
>      MESSAGEB("Could not load the document")
>      EXIT
>   ENDIF
>   DOEVENTS
>ENDDO
>
I would also,
but as I said that is just for testing purposes only to see IF the document can be loaded.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform