VB6 crashing when closing |
Post Reply |
Author | |
kcomeby
Newbie Joined: 12 March 2009 Status: Offline Points: 2 |
Post Options
Thanks(0)
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?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Do you see same with our samples ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
kcomeby
Newbie Joined: 12 March 2009 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
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? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
"C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v13.0.0\Samples\DockingPane\VB\SDISample\SDISample.vbp"
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Maybe you have both CommandBars + DockingPane on same form and don't call dp.SetCommandBars method...
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
RedFin
Groupie Joined: 26 March 2008 Location: Australia Status: Offline Points: 47 |
Post Options
Thanks(0)
|
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.
|
|
tfrancois
Groupie Joined: 21 August 2007 Status: Offline Points: 78 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |