Missing toolbar

J

Jack

I have a OL2007 installation that loads my COM Add-in (it shows loaded in
trust center and the forms are able to access the object) however the
toolbar is missing. I have disabled and enabled the add-in and the toolbar
will not show up. If I right click on the toolbar area it is not listed.

Has anyone ever seen this before?

Jack
 
W

Wei Lu [MSFT]

Hello Jack,

I would like to know this issue better.

1. Did you mean that you use your COM add-in to load the toolbar ?

2. If so , did your com add-in loaded successfully?

3. Could you create a simple COM add-in to run in the Outlook 2007?


Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jack

1. Did you mean that you use your COM add-in to load the toolbar ?
--> Yes.

2. If so , did your com add-in loaded successfully?
--> Yes the forms can access the Add-in via Set AddinObj=
Application.COMAddIns.Item("AddinName.Connect").Object

3. Could you create a simple COM add-in to run in the Outlook 2007?
--> This addin works in OL 2007 other than here, it actually was showing
the toolbar before and not it is not visible.

Jack
 
W

Wei Lu [MSFT]

Hello Jack,

What will happen if you change the Toolbar's name,caption or tag property?

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jack

I had not tried that since it will cause me to change to code. I was hoping
that there was a OL2007 explaination...

Jack
 
W

Wei Lu [MSFT]

Hello Jack,

Without some troubleshooting steps, we could not confirm whether this issue
is related with OL 2007 or is the COM addin issue.

So please have a try and let me know the result. Thank you!


Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
K

Ken Slovak - [MVP - Outlook]

Do you mean that you've tried your addin with Outlook 2003 and it works
correctly? If so it should work the same with Outlook 2007.

Is this an Explorer toolbar or an Inspector toolbar? For Inspectors you're
supposed to use the ribbon and any toolbars you create using the command
bars interface will be relegated to the AddIns tab.

Your best hope of getting this fixed is showing the code you're using to
create the toolbar and tell us where and when you're creating it. Also, some
details like the language you're using and development platform would be
helpful, as would information about the OS you're testing on.
 
J

Jack

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
 
W

Wei Lu [MSFT]

Hello Jack,

Could you please follow this blog article to troubleshoot?

How to troubleshoot the COM Add-ins loading issues
http://blogs.msdn.com/msdnts/archive/2006/12/28/how-to-troubleshoot-the-com-
add-ins-loading-issues.aspx

Please let me know the result.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hello Jack,

Thanks for the update. If you have any question, please feel free to let me
know.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top