![]() |
fatal crash switching apps when modal form open |
Post Reply ![]() |
Author | |
stefan_n ![]() Newbie ![]() Joined: 30 August 2006 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() 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 ![]() Please tell me there is a way to prevent this ![]() |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
stefan_n ![]() Newbie ![]() Joined: 30 August 2006 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
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.... ? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 support@codejock.com
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
stefan_n ![]() Newbie ![]() Joined: 30 August 2006 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Hi,
I found the reason ![]() 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! |
|
![]() |
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 |