Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / November 2003

Tip: Looking for answers? Try searching our database.

XP Add-in won't load in 2000

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jon Rizzo - 21 Nov 2003 20:27 GMT
Hi,

I have developed a COM add-in for Outlook XP that I am trying to load in
Outlook 2000.  In 2000, the module starts to load, but then throws the error
"Run-time error '459': Object or class does not support the set of events".

I suspect that this is due to the fact that one of the classes in my project
(VB6) catches events from an Explorer object with events.  When I comment
out the "WithEvents", the program loads (but obviously doesn't function
properly.), but if I leave the WithEvents in & comment out all of the event
traps, the load still fails.  I suspect this has something to do with the
fact that on my development machine, I have Outlook XP, and set a reference
to the Outlook 10 library.  If I do not take advantage of any XP-specific
methods, properties or events, then shouldn't I be able to do this?  If so,
how?  I would like to reference the Outlook 9 object library, but that does
not appear to be available on my development machine, even though the Office
9 library IS.

Can someone explain to me how this is done?

Thanks.

Jon Rizzo
Langan Engineering and Environmental Services, Inc.
Sunny - 24 Nov 2003 15:50 GMT
Hi Jon,

> Hi,
>
[quoted text clipped - 20 lines]
> Jon Rizzo
> Langan Engineering and Environmental Services, Inc.

Ms docs states that if you taget the lower possible version, your addin
will work with newer ones. So, while you develop the addin, if you
target 2000, and version 9 libraries, after that it should work with XP
and 2003.

So far with mine addin it is true. You just don't have to use any
version specific functionality.

As far as I know you can install different versions of Office on same
machine, different folders, except Outlook. So you need to install only
Outlook 2000 maybe, and to remove the XP version.

Hope that helps
Sunny
Ken Slovak - [MVP - Outlook] - 24 Nov 2003 16:38 GMT
Always develop addins using the lowest version you intend to support
and don't use methods, properties or events that aren't in the lowest
version.

--
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

> Hi,
>
[quoted text clipped - 20 lines]
> Jon Rizzo
> Langan Engineering and Environmental Services, Inc.
Jon Rizzo - 24 Nov 2003 21:07 GMT
Thanks for the tip, I will try that.  How do I reference the older type
library from my development machine?  Do I need to have outlook 2000 loaded
on my development machine, or can I somehow reference version 9 of the
library if Outlook XP is loaded on my development machine?  The only one I
see listed as an option is version 10.

Jon

> Always develop addins using the lowest version you intend to support
> and don't use methods, properties or events that aren't in the lowest
[quoted text clipped - 45 lines]
> > Jon Rizzo
> > Langan Engineering and Environmental Services, Inc.
Ken Slovak - [MVP - Outlook] - 25 Nov 2003 14:02 GMT
Your development machine would have to have Outlook 2000 installed.

--
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

> Thanks for the tip, I will try that.  How do I reference the older type
> library from my development machine?  Do I need to have outlook 2000 loaded
[quoted text clipped - 3 lines]
>
> Jon
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.