how to load add-in on the basis of version of Office application?

S

salil_taneja

Hi,

I have a plug-in for Office (word, excel and powerpoint). It works fine with
Office 2003 and 2007.
Plug-in does not support Office 2000 (or any versions other than 2003 or
2007) .

I get a problem on a system which has Office 2000 and Office 2003 installed
with my plug-in.
As the registry entries for Office applications is common for all the
versions of Office at- "Software/Microsoft Office/Office/Word/Addins". So,
Word 2000 tries to load my add-in too.
How can I avoid Office 2000 to load my add-in during startup and allow
Office 2003 and Office 2007 to load the add-in.

Thanks !
Salil
 
A

Alan Moseley

I don't think that you can stop it from attempting to load. Can you not add
some code within your addin connection sub that checks the
Application.Version and only continues with the proper initialisation of your
software if the version is 11.0 or 12.0?
 
S

salil_taneja

Currently I am going with this solution.
But my plug-in dll gets loaded for no reason.
I thought that there should be a better solution and thus posted this
question.
 

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