Addin Available but not loaded for Outlook XP

P

Phil

Hello all,
I have created an Outlook Addin (based on the Items sample
from Microeye). This Addin adds two buttons on its own
toolbar, however after installing the Addin, this toolbar
is nowhere to be found.
The Addin is available but not loaded. Its behavior is
set to 'Load on Demand'.

Client is Outlook XP but the Addin was developed on 2003.
However I have since reverted back to XP when this problem
occurred, to try to fix it.

Thanks in Advance.
Phil
 
G

Guest

Thanks for you reply Sue,
No it doesn't work if you set it to load at startup,

I now beleive that it is running into errors during the
InitHandler routine.
The error number is 459,
"Object or class does not support the set of events"
This is happening when trying to set reference to the
Outlook Application

Private WithEvents objOutlook As Outlook.Application

Set objOutlook = olApp


I don't know why this is happening.
Any ideas???

Once again, Thanks.
Phil.
 
S

Sue Mosher [MVP]

How are you instantiating olApp? The correct way to instantiate an
Outlook.Application object is to use the Application object passed by the
OnConnection event.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
K

Ken Slovak - [MVP - Outlook]

PMFJI, but if the addin was developed on a machine with Outlook 2003
then it won't work on an Outlook 2002 machine. Addins always have to
be developed using a machine with the oldest version of Outlook you
intend to support or have everything late bound with checks for
Outlook version to make sure any properties, events or methods used
are available.
 

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