Print Page | Close Window

fatal crash switching apps when modal form open

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=4926
Printed Date: 28 June 2024 at 2:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: fatal crash switching apps when modal form open
Posted By: stefan_n
Subject: fatal crash switching apps when modal form open
Date Posted: 30 August 2006 at 3:48pm
Hi,

I'm using DockingPanes and CommandBars 9.80 in a VB6 app.
It works more ore less like the VisualStudio-example. If I open
a form with .Show vbModal and switch shortly to another app using
the taskbar my program crashes completely crtl + alt + del

Please tell me there is a way to prevent this



Replies:
Posted By: Oleg
Date Posted: 30 August 2006 at 6:24pm
Hello,
 
Can you please try to reproduce it with new project... Maybe you forgot something like
Set DockingPanes.CommandBars = CommandBars
 
and attach project here if you will reproduce it.


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


Posted By: stefan_n
Date Posted: 31 August 2006 at 4:19am
Hello,

> Set DockingPanes.CommandBars = CommandBars
This is done using DockingPane.SetCommandBars.

There's no way to make a simple app reproducing the error,
because it doesn't happen in simple apps. It seems you need
a certain amount of controls and/or windows open...

I removed code and controls  from the form calling the
modal window. Even if only a messagebox is open it
causes the error.

Looks like focus between the main window and the
modal window are bouncing back and forth. The title
of the main window is flickering.

There is definetely no basic code entered...

Any more ideas.... ?




Posted By: Oleg
Date Posted: 31 August 2006 at 8:45am
Hello,
 
Stefan, I need to debug it and see to be sure it is problem in our code, not in your. How can I say where problem if you only give me this description?
 
Try to copy whole  project to another directory and remove as much as possible till it can be run and problem can be reproduced and send to mailto:support@codejock.com - support@codejock.com


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


Posted By: stefan_n
Date Posted: 04 September 2006 at 4:32am
Hi,

I found the reason  excluding code and controls bit by bit:

It was caused by the Infragistics ActiveToolBars Control, which
we haven't found the time to replace it by the CommandBars.
If any childwindow is open with that control on it's form, even if
not used, you get this strange behaviour.

Thanks for offering help!







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