pisceswzh
Well-known member
- Joined
- Mar 19, 2007
- Messages
- 96
- Programming Experience
- 1-3
Hi,
I received following error reports from my users:
I used a TRY... CATCH... to catch the problem. After that, my program cannot create any more windows.
Is it because my program created too many windows? Actually the number of windows opened is not that much. It's around 10. But I searched online and found windows seems to have a 1000 limit in the number of the handlers in a program. There are a lot of controls on one of my forms and the form can be opened repeatly. Is there any way I can prevent it?
Thanks.
Tom
I received following error reports from my users:
VB.NET:
Error creating window handle.
I used a TRY... CATCH... to catch the problem. After that, my program cannot create any more windows.
Is it because my program created too many windows? Actually the number of windows opened is not that much. It's around 10. But I searched online and found windows seems to have a 1000 limit in the number of the handlers in a program. There are a lot of controls on one of my forms and the form can be opened repeatly. Is there any way I can prevent it?
Thanks.
Tom