Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too many windows open
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Too many windows open
Miscellaneous
Thread ID:
00352552
Message ID:
00352552
Views:
47
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
Next
Reply
Map
View

Click here to load this message in the networking platform