Print Page | Close Window

Problem with CommandBar and DockingPane in VS2008

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13468
Printed Date: 16 June 2025 at 5:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with CommandBar and DockingPane in VS2008
Posted By: vie87vn
Subject: Problem with CommandBar and DockingPane in VS2008
Date Posted: 22 February 2009 at 3:13am
I'm using both CommandBar and DockingPane. I'm trying with your code:
DockingPane.SetCommandBar(Me.CommandBar)
and 'Send to Back' DockingPane control but on RunTime, I had a message like this:

How to fix? Plz help me!
I'm using VS2008.



Replies:
Posted By: Oleg
Date Posted: 23 February 2009 at 3:35am
 
DockingPaneManager.SetCommandBars Me.CommandBars


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


Posted By: vie87vn
Date Posted: 27 February 2009 at 8:25am
I did as your code but not successful.
I fixed with this code:
DockingPaneManager.SetCommandBars(Me.CommandBars.GetDispatch())
Thankx for your helping.


Posted By: SuperMario
Date Posted: 27 February 2009 at 9:18am
Originally posted by vie87vn vie87vn wrote:

I did as your code but not successful.
I fixed with this code:
DockingPaneManager.SetCommandBars(Me.CommandBars.GetDispatch())
Thankx for your helping.


Yes, that is correct for .NET


Posted By: sforces
Date Posted: 15 May 2009 at 2:51pm
Thank you that just solved it for me too!



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