Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with MDIchild
Message
De
26/07/2000 08:19:35
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with MDIchild
Divers
Thread ID:
00396987
Message ID:
00396987
Vues:
62
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform