Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - fatal crash switching apps when modal form open
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

fatal crash switching apps when modal form open

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


Joined: 30 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote stefan_n Quote  Post ReplyReply Direct Link To This Post Topic: fatal crash switching apps when modal form open
    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
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: 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
Back to Top
stefan_n View Drop Down
Newbie
Newbie


Joined: 30 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote stefan_n Quote  Post ReplyReply Direct Link To This Post 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.... ?


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: 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 support@codejock.com
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
stefan_n View Drop Down
Newbie
Newbie


Joined: 30 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote stefan_n Quote  Post ReplyReply Direct Link To This Post 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!




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.141 seconds.