Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Problem with CommandBar and DockingPane in VS2008
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with CommandBar and DockingPane in VS2008

 Post Reply Post Reply
Author
Message
vie87vn View Drop Down
Newbie
Newbie
Avatar

Joined: 15 January 2009
Location: Vietnam
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote vie87vn Quote  Post ReplyReply Direct Link To This Post Topic: Problem with CommandBar and DockingPane in VS2008
    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.
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: 23 February 2009 at 3:35am
 
DockingPaneManager.SetCommandBars Me.CommandBars
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
vie87vn View Drop Down
Newbie
Newbie
Avatar

Joined: 15 January 2009
Location: Vietnam
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote vie87vn Quote  Post ReplyReply Direct Link To This Post 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.
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: 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
Back to Top
sforces View Drop Down
Groupie
Groupie


Joined: 13 May 2009
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote sforces Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2009 at 2:51pm
Thank you that just solved it for me too!
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.047 seconds.