PC Review


Reply
Thread Tools Rate Thread

Addin Available but not loaded for Outlook XP

 
 
Phil
Guest
Posts: n/a
 
      18th Jan 2004
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


 
Reply With Quote
 
 
 
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      18th Jan 2004
Does it work if you set it to load at startup?
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Phil" <(E-Mail Removed)> wrote in message
news:01e101c3de0e$0e9f3890$(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      18th Jan 2004
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.

>-----Original Message-----
>Does it work if you set it to load at startup?
>--
>Sue Mosher, Outlook MVP
>Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
>"Phil" <(E-Mail Removed)> wrote in message
>news:01e101c3de0e$0e9f3890$(E-Mail Removed)...
>> 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
>>
>>

>
>
>.
>

 
Reply With Quote
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      19th Jan 2004
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.
>
> >-----Original Message-----
> >Does it work if you set it to load at startup?
> >--
> >Sue Mosher, Outlook MVP
> >Author of
> > Microsoft Outlook Programming - Jumpstart for
> > Administrators, Power Users, and Developers
> > http://www.outlookcode.com/jumpstart.aspx
> >
> >
> >"Phil" <(E-Mail Removed)> wrote in message
> >news:01e101c3de0e$0e9f3890$(E-Mail Removed)...
> >> 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
> >>
> >>

> >
> >
> >.
> >



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      19th Jan 2004
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.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSTO Outlook Addin doesn't get loaded for non-admin user Piyush Gupta Microsoft Outlook Program Addins 5 9th May 2007 07:24 PM
Word COM-Addin is not to be loaded into Outlook Oliver Scheiber Microsoft Outlook VBA Programming 2 14th Jan 2007 12:24 PM
Outlook addin not loaded if a .msg file is opened by double clicki =?Utf-8?B?c2FuYQ==?= Microsoft Outlook Program Addins 1 29th Dec 2006 02:27 PM
Outlook crashes when com addin loaded with File>open>other users folder???? Kristy Microsoft Outlook Program Addins 1 14th Mar 2004 01:02 AM
Outlook crashes when com addin loaded with File>open>other users folder???? Kristy Microsoft Outlook Program Addins 0 24th Feb 2004 09:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:07 AM.