Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I don't think this is right
Message
De
12/01/2009 14:59:58
 
 
À
12/01/2009 14:49:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01372917
Message ID:
01372926
Vues:
18
>>>Ok....same ActiveX control
>>>
>>>if I run the code with a 'suspend' and step through, it gives me the correct information (Scanner exists, server exists). If I take the suspend out and run the code, it tells me that the Scanner doesn't exist, nor does the server...
>>>
>>>What the Huh?
>>
>>Maybe some control needs some extra time? Try to add some delay after one of the lines
>>Line 1
>>DECLARE Sleep IN WIN32API Long
>>Sleep(1000) && One second
>>Line 2
>
>Tried using WAIT TIMEOUT 5 (wait 5 seconds), didn't help. put a Wait Window in the OnScannerStatus method and it's not showing up. I'm really beginning to hate this control, and any questions like this that we send to M2Sys, we get the response that "They don't know anything about FoxPro" and that's it.
>
>It's almost like the event is not firing off without the suspend

I have seen cases where you need to add a Doevents after a line, in order to get things working.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform