![codejock commandbars codejock commandbars](http://forum.codejock.com/uploads/20100318_073928_skinb.png)
It is not enough to just copy component files to the target location to be able to use it, they must be registered and license included (described in the next section).
Codejock commandbars install#
It is important to install 32-bit Unicode components even if they are not used as Windows OS requires all 64-bit COM objects to have corresponding 32-bit components installed.Īlso three configurations may be installed in order to cover all possible use cases.Ĭomponents may be installed to any location that is at least read-only accessible for all potential users of the installed components. C# application with 圆4 or An圜PU TargetCPU, 64-bit Microsoft Office application or 64-bit C++ application with Unicode character set enabled. Using both 32-bit and 64-bit Unicode components if your application is a 64-bit application, e.g. C# application with x86 TargetCPU, 32-bit Microsoft Office application or 32-bit C++ application with Unicode character set enabled Installing 32-bit Unicode components only if your application does support Unicode, e.g. Visual Basic 6 application or 32-bit C++ application with Multi-Byte character set enabled. Installing 32-bit ANSI components only if your application does not support Unicode, e.g. It is important to choose the correct configuration that is compatible with your host application as Windows does not allow mixing the bitness of modules in one address space old programming languages do not support Unicode character set. It is assumed that a developer is familiar with ActiveX concepts and best practices related to a programming language of his choice.Įach Codejock ActiveX component comes in 3 configurations:Ĭomponent file names reflect its configuration, e.g.:Ĭ18.0.1.ocx - 32-bit ANSIĬ18.0.1.ocx - 32-bit UnicodeĬ.圆4.v18.0.1.ocx - 64-bit Unicode The way to work with ActiveX components and related language dependent concerns are beyond this article as it is unique to each programming language.
![codejock commandbars codejock commandbars](https://codejock.com/assets/images/downloads/samples/commandbars_commoncontrols_full.png)
The controls can be used from any development environment and with any programming language that supports ActiveX technology. One component (.OCX) file exposes a set of classes and interfaces necessary for using controls it provides. OCX files that must be copied and registered on the target computer where they will be used. I have other classes stored in DLL's that also use the Codejock controls, and I was not required to set the licenses individually for each one.Codejock ActiveX Controls Unicode v18.2.0Ĭodejock ActiveX components are standalone. It also appears that this step is only necessary on the main form of the application. This same technique must also be used for any other Codejock ActiveX controls.
![codejock commandbars codejock commandbars](http://www.cwer.ru/media/files/u614910/Miscellaneous30/2012_03_20_161953.jpg)
Settings.License = "CommandBars Control Copyright (c) 2003-2004 Codejock Software\r\n" + (Note carriage return line feed '\r\n' at the end of each line) Now enter the first three lines of your license file XtremeCommandBars.CommandBarsGlobalSettingsClass settings = new XtremeCommandBars.CommandBarsGlobalSettingsClass() Create Instance of Global Settings Class for CommandBars
Codejock commandbars code#
In the constructor for your main form, place the following code BEFORE the call to the 'InitializeComponents' method.