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.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Sue Mosher [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
> http://www.outlookcode.com/jumpstart.aspx
>
>
> <(E-Mail Removed)> wrote in message
> news:030801c3de1c$8e44a5e0$(E-Mail Removed)...
> > 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.