Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM
  New Posts New Posts RSS Feed - VB6 crashing when closing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedVB6 crashing when closing

 Post Reply Post Reply
Author
Message
kcomeby View Drop Down
Newbie
Newbie


Joined: 12 March 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote kcomeby Quote  Post ReplyReply Direct Link To This Post Topic: VB6 crashing when closing
    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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2009 at 1:50am
Hi,
 
Do you see same with our samples ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
kcomeby View Drop Down
Newbie
Newbie


Joined: 12 March 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote kcomeby Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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"
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
RedFin View Drop Down
Groupie
Groupie
Avatar

Joined: 26 March 2008
Location: Australia
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote RedFin Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
tfrancois View Drop Down
Groupie
Groupie


Joined: 21 August 2007
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrancois Quote  Post ReplyReply Direct Link To This Post 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.


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.