Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM
  New Posts New Posts RSS Feed - Object doesn't support this property
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedObject doesn't support this property

 Post Reply Post Reply
Author
Message
Biox View Drop Down
Groupie
Groupie


Joined: 14 September 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote Biox Quote  Post ReplyReply Direct Link To This Post Topic: Object doesn't support this property
    Posted: 14 September 2009 at 9:53pm
Tried to find as reason for this but hit a blank, appreciate any help.

I have recompiled an app in v12 instead of v11.2 and get the above error on line 200.  (Object doesn't support this property)

190           Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")
200           Set Control.CommandBar = PopupBar

thanks in advance

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: 16 September 2009 at 10:34am
Do you have this?

Dim PopupBar As CommandBar

Back to Top
Biox View Drop Down
Groupie
Groupie


Joined: 14 September 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote Biox Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 7:43pm
Thanks for the reply,  yes I do have that.  
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: 17 September 2009 at 1:34pm
Can you post all the code you use to create the ribbon before the lines you posted?

I am sure this will work with newer version.

Dim PopupBar As CommandBar

So something like:

        Dim PopupBar As CommandBar, ControlPrint As CommandBarPopup

        Set ControlPrint = .Add(xtpControlSplitButtonPopup, ID_FILE_PRINT, "&Print")
        Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")
        Set ControlPrint.CommandBar = PopupBar
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.203 seconds.