Mike Sabatier Level: Protégé
 Registered: 05-03-2007 Posts: 6
|
Re: VB6 Crashes on Exit
I don't mind sharing my code - but I have determined that he crashing has nothing to do with the exit routines.
I have spent hours whittling the problem down to the fact that all proceeds well as long as I do not change the order in which the frames on the form are stored.
I got there by restoring the system from backup then adding code, backing up and running the job.
The form has many frames which I make visisble and invisible as required depending on which tabs are selected in a tab control. If I save the code after bringing to the fore a frame which was behind others, VB crashes when the form unloads. If I restore the .frm and .frx files to the previous version before changing the frame order, add the new code but save the project with the frames in the unchanged sequence, no crash occurs.
Please help as this is a method of 'limping' along when, in fact, this project should be screaming along to an already very delayed finish. I do not know what lies ahead to bite me if this problem is not fixed soon.
Thanks for your assistance and interest
|