Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many windows open
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00352552
Message ID:
00352555
Vues:
11
John,

I imagine it's because you have 130 open error dialog windows. Put a KEYBOARD chr(13) before the error statement so the dialog can be dismissed.

>I am running a PRG that generaltes errors from 1 to 2000 created by Doug Hennig from FoxTalk in MSDN Online which puts the error # and message in a table. After record 130 which contains error number 1115 I get this message from VFP "Too many windows open". VFP is the only open window. Here is the code
>
>create table Errors (ErrorNum I, Message M)
>index on ErrorNum tag ErrorNum
>on error do SaveErr with error(), message()
>for lnI = 1 to 3000
> error lnI
>next lnI
>on error
>use
>
>procedure SaveErr
>lparameters tnError, tcMessage
>if tnError <> 1941 && ignore "invalid error code" errors
> insert into Errors values (tnError, tcMessage)
>endif tnError <> 1941
>return
>
>Thanks
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform