It is an inspector toolbar, it is written in VB6 the OS is Windows XP and
Office version is 2007. The toolbar loads correctly on OL2000-2003 all the
time. It loaded fine on this workstation on OL07 before and for some
unknown reason it is not loading now. I have unregistered/registered the
dll, I have unchecked/checked the addin in trust center and the toolbar
still does not load. The COM Addin is loaded as the forms are able to call
the public methods defined in the COM object it just does not show the
toolbar.
The code to create the toolbar is in the InitHandler and is as follows:
Set cbrNewToolbar = gobjOutlook.ActiveExplorer.CommandBars(ShortAppName)
Set CBBTest = cbrNewToolbar.FindControl(Tag:="")
If CBBTest Is Nothing Then
'nop
Else
'Delete existing buttons
Do Until cbrNewToolbar.Controls.Count = 0
cbrNewToolbar.Controls.item(1).Delete
Loop
Set CBBTest = Nothing
End If
Set CBLogo = CreateAddInCommandBarButton(gstrProgID, cbrNewToolbar,
HelpFileName & " Help", HelpFileName & " Help", HelpFileName & " Help", 285,
False, msoControlButton)
Set CBCreate = CreateAddInCommandBarButton(gstrProgID, cbrNewToolbar,
"Create...", "Create...", "Create...", 25, False, msoControlPopup)
Set CBCampaignFunctions = CreateAddInCommandBarButton(gstrProgID,
cbrNewToolbar, "Campaigns...", "Campaigns...", "Campaigns...", 25, False,
msoControlPopup)
Set CBTools = CreateAddInCommandBarButton(gstrProgID, cbrNewToolbar,
"Tools", "Tools", "Tools", 25, False, msoControlPopup)
Set CBAdmin = CreateAddInCommandBarButton(gstrProgID, cbrNewToolbar, "Admin
Functions", "Admin Functions", "Admin Functions", 25, False,
msoControlPopup)
and so on....
Jack