Print Page | Close Window

VB6 crashing when closing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: ActiveX COM
Forum Description: Topics related to Codejock ActiveX COM products
URL: http://forum.codejock.com/forum_posts.asp?TID=13658
Printed Date: 24 November 2024 at 8:18pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VB6 crashing when closing
Posted By: kcomeby
Subject: VB6 crashing when closing
Date Posted: 12 March 2009 at 5:48am
Im using dockingpane 12.1.1 @ VB6 on winXP 32 SP2. When i try close the application in debug mode, vb6 crash almost every time. What can i do?



Replies:
Posted By: Oleg
Date Posted: 13 March 2009 at 1:50am
Hi,
 
Do you see same with our samples ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: kcomeby
Date Posted: 13 March 2009 at 8:09am
i cant find samples. maybe you can give me a link.

btw if i remove dockingpane from project its running smoothly. so im sure there is something wrong about dockingpane. before shutting application should i do something?


Posted By: SuperMario
Date Posted: 13 March 2009 at 10:07am
"C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v13.0.0\Samples\DockingPane\VB\SDISample\SDISample.vbp"


Posted By: Oleg
Date Posted: 16 March 2009 at 7:24am
Maybe you have both CommandBars + DockingPane on same form and don't call dp.SetCommandBars method...

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: RedFin
Date Posted: 15 June 2009 at 8:12pm
I had this problem and found it was due to loading forms into the panes. I have to make absolutely sure to explicitly destroy any forms in the docking panes before closing the form that is hosting the panes (hope that makes sense). That is, you can't just call "Unload Me" and rely on VB to clean up the forms in the panes.


Posted By: tfrancois
Date Posted: 22 September 2009 at 10:15pm
Originally posted by kcomeby kcomeby wrote:

Im using dockingpane 12.1.1 @ VB6 on winXP 32 SP2. When i try close the application in debug mode, vb6 crash almost every time. What can i do?


I had the EXACT same problem and I was able to fix it with one line of source code in my Form's QueryUnload event.

DockingPane1.SetCommandBars Nothing

Problem solved.





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net