Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with MDIchild
Message
From
26/07/2000 08:19:35
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Problem with MDIchild
Miscellaneous
Thread ID:
00396987
Message ID:
00396987
Views:
65
I am working on an app which uses a main MDICform for its display called "frmMain".
One MDIchild was made at design time called "frmChild".

When frmMain loads, I create an array of frmChild to load 10 new instances of the form. The forms each hold some of the Windows common control (2 sliders, some labels, etc.)

When close my frmMain (MDIform) without loading any children into it, it closes fine; however, if I load the 10 children then attempt to close the MDIform my application gets an illegal operation.

"Illegal Operation has occurredd. MyEXE has caused an invalid page fault in kernel32.dll"

I have tried unloaded the array of the MDIchild forms, setting any class objects I created at run-time to nothing, and still no results on how to fix this error. So far, I have only been able to pin-point it on the MDIChild forms, as this error does not occur until I load at least MDIchild form.

I'd appreciate any help you can offer. Thanks.

Kenneth Gilbert Jr.
masterkg, masterkg@yahoo.com
Kenneth Gilbert Jr, MCP
Next
Reply
Map
View

Click here to load this message in the networking platform