Codejock commandbars pro#
Command Bars is included with the Toolkit Pro for Visual C++ MFC.
Codejock commandbars full#
I would prefer not to have to rewrite this VB6 code in VB.Net if I can help it.Codejock Command Bars for Visual C++ MFC provides several options to choose from including Office Style Ribbon, Visual Studio and Office Theme Support, Tabbed and Transparent Toolbars, MDI Tab and Gallery Controls, Accelerators / Hot Keys, Load / Save State, full Customization and much more. My questions (or requests for help) fall around the following ( I'm not very clued up on Outlook interfacing ) Ī) has " Outlook.Explorer" been replaced with something else so it is just a matter of using what the new whatever is ?ī) I have read about IDTExtensibility2 but not sure how that factors in if at allĬ) Do I actually have to rewrite the code completely for placing button on the Ribbon Bar / Command Bar of Outlook 2013 + and if so could you point me to an example please for VB6 and Outlook 2013 or 2016 etc as I am having trouble finding anything. Our database contains 61 different files for filename 15.2.1.ocx.You can also check most distributed file variants with name 15.2.1.ocx.This files most often belongs to product Xtreme CommandBars ActiveX Control. However tapping into Outlook and from the VB6 code and adding / interacting with a button in the Outlook Command bar or Ribbon bar as I think it is now called is not working for me. I do have a couple of other VB6 apps here that use CodeJock for the Ribbon bar so they are self contained and work fine in VB6 so I can see what goes on there. The code in the plugin is solid, I just cannot compile it due to the above error which if having to guess relates to the new XML format that should be used for 2013 onwards ? I have done a lot of hunting around and a bunch of reading and from what I have seen Microsoft moved to a XML type model along the lines of CodeJock if that name rings a bell. Private WithEvents mTSEButton As Office.CommandBarButton Private WithEvents objExplorer As Outlook.Explorer Private WithEvents colInspectors As Outlook.Inspectors 'Command Bar Initialized, Now Find the Control Firstġ00 For Each mControl In mCommandBar.Controlsġ10 If UCase$(Trim$(TypeName(mControl))) = UCase$(Trim$("CommandBarButton")) Thenġ20 If UCase$(Trim$(mControl.Caption)) = UCase$(Trim$(IDS_TSE_ON)) Or UCase$(Trim$(mControl.Caption)) = UCase$(Trim$(IDS_TSE_OFF)) ThenĢ10 Set mTSEButton = (msoControlButton,, ,, True)Ģ20 mTSEButton.Style = msoButtonIconAndCaptionĭefinitions Private WithEvents objOLApp As Outlook.Application In compiling I am getting - Error in loading DLL for xxxx.CommandBars ( Lines 40 and I presume also 70 ) Public Function CreateTSEButton() As BooleanĤ0 Set mCommandBar = objExplorer.CommandBars("E-mail")ħ0 Set mCommandBar = objExplorer.CommandBars("Standard")ĩ0 If mCommandBar Is Nothing Then Exit Function The issue though is trying to recompile it so I can tweak it and also have it run with the more recent versions of Outlook name 2013 - 2018
Codejock commandbars windows 7#
The Plugin still works fine on Outlook 2003 on Windows 7 for both x86 and 圆4 Just cannot work out why and would appreciate any feedback / guidance.
I am trying to revive / recompile an old Outlook Plugin that was written in VB6 however I am getting an error seemingly related to setting a button on the Ribbon bar.