PC Review


Reply
Thread Tools Rate Thread

How to avoid dependency on Office dll version (MSO.dll)

 
 
Orlin Todorov
Guest
Posts: n/a
 
      4th Jul 2003
Hello,

My question may be a little stupid, but how should I declare those variables
so that the addin doesn't depend on the version of the Office object model
dll? Right now using the addin sample I have:

Dim cbrNewToolbar As Office.CommandBar
Private WithEvents CBButton As Office.CommandBarButton

This way though I need to have two version of the add-in dll -- one for
Office 2002 and one for Office 2000.

Any advice is greatly appreciated!

Thank you,
Orlin


 
Reply With Quote
 
 
 
 
Orlin Todorov
Guest
Posts: n/a
 
      13th Jul 2003
Thank you Ken,

I maybe got confused. Maybe it was a different problem I was experiencing.
I will try again.


"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Just develop your addin using a dev machine with the oldest version of
> Outlook you want to support installed. The addin will work with later
> versions of Outlook.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Lead Author, Professional Outlook 2000 Programming, Wrox Press
> Lead Author, Beginning VB 6 Application Development, Wrox Press
> Attachment Options
> http://www.slovaktech.com/attachmentoptions.htm
> Extended Reminders
> http://www.slovaktech.com/extendedreminders.htm
>
>
> "Orlin Todorov" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
> > Hello,
> >
> > My question may be a little stupid, but how should I declare those

> variables
> > so that the addin doesn't depend on the version of the Office object

> model
> > dll? Right now using the addin sample I have:
> >
> > Dim cbrNewToolbar As Office.CommandBar
> > Private WithEvents CBButton As Office.CommandBarButton
> >
> > This way though I need to have two version of the add-in dll -- one

> for
> > Office 2002 and one for Office 2000.
> >
> > Any advice is greatly appreciated!
> >
> > Thank you,
> > Orlin
> >
> >

>
>



 
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
Re: How solve "Error: The dependency 'xxx.xx.dll, version=1.0.2067.27633, culture=neutral... Charles Law Microsoft Dot NET 0 30th Aug 2005 11:50 PM
Dependency Error: The dependency <dll> in project <project> cannot be coppied to the run directory becuase it would conflict with dependency <dll> Jay A. Moritz Microsoft VB .NET 2 14th Apr 2005 08:57 AM
Warning: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') Michael R. Pierotti Microsoft VB .NET 0 15th Dec 2004 09:37 PM
XmlSerialization and version dependency Jack Wright Microsoft Dot NET Framework 1 21st Nov 2004 09:41 AM
What does it mean: Warning: The dependency 'CAGLibNS, Version=1.0.1423... active Microsoft VB .NET 3 30th Nov 2003 02:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:04 PM.