Ok, I've got this working finally!
Turns out I was doing two things wrong...
1) The OCX components should have been set to "Self Register" (vsdrfCOMSelfReg)
2) I needed to include the licence in the program... example as follows for those also try to do this.
----------------------------------
Public CalendarGlobalSettings As XtremeCalendarControl.CalendarGlobalSettings
Public CommandBarsGlobalSettings As XtremeCommandBars.CommandBarsGlobalSettings
Public DockingPaneGlobalSettings As XtremeDockingPane.DockingPaneGlobalSettings
Public PropertyGridGlobalSettings As XtremePropertyGrid.PropertyGridGlobalSettings
Public ReportControlGlobalSettings As XtremeReportControl.ReportControlGlobalSettings
Public ShortcutBarGlobalSettings As XtremeShortcutBar.ShortcutBarGlobalSettings
Public SuiteControlsGlobalSettings As XtremeSuiteControls.SuiteControlsGlobalSettings
Public TaskPanelGlobalSettings As XtremeTaskPanel.TaskPanelGlobalSettings
# Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'Register Components
CalendarGlobalSettings = New XtremeCalendarControl.CalendarGlobalSettings
CalendarGlobalSettings.License = ID.CJ_LIC_1
CommandBarsGlobalSettings = New XtremeCommandBars.CommandBarsGlobalSettings
CommandBarsGlobalSettings.License = ID.CJ_LIC_2
DockingPaneGlobalSettings = New XtremeDockingPane.DockingPaneGlobalSettings
DockingPaneGlobalSettings.License = ID.CJ_LIC_3
PropertyGridGlobalSettings = New XtremePropertyGrid.PropertyGridGlobalSettings
PropertyGridGlobalSettings.License = ID.CJ_LIC_4
ReportControlGlobalSettings = New XtremeReportControl.ReportControlGlobalSettings
ReportControlGlobalSettings.License = ID.CJ_LIC_5
ShortcutBarGlobalSettings = New XtremeShortcutBar.ShortcutBarGlobalSettings
ShortcutBarGlobalSettings.License = ID.CJ_LIC_6
SuiteControlsGlobalSettings = New XtremeSuiteControls.SuiteControlsGlobalSettings
SuiteControlsGlobalSettings.License = ID.CJ_LIC_7
TaskPanelGlobalSettings = New XtremeTaskPanel.TaskPanelGlobalSettings
TaskPanelGlobalSettings.License = ID.CJ_LIC_8
'This call is required by the Windows Form Designer.
InitializeComponent()
----------------------------------
Where ID.CJ_LIC_1 etc are your licence strings..
Glenn
|