![]() |
|
Post Reply
|
| Author | |
kcomeby
Newbie
Joined: 12 March 2009 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: VB6 crashing when closingPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 March 2009 at 1:50am |
|
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)
Quote Reply
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? |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
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"
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
RedFin
Groupie
Joined: 26 March 2008 Location: Australia Status: Offline Points: 47 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
tfrancois
Groupie
Joined: 21 August 2007 Status: Offline Points: 78 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 September 2009 at 10:15pm |
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 |