Word addin not start with generics

M

MHL Solutions

I am building a Word Shared Add In in visual studio 2005.

On my development system all works fine. On machines with office 2007 the
add in works fine.

On machines with Office 2003 the LoadBehavior is automaticly set to 2 and
add in is not working.

I try to figure out what the problem is. I found uot that when I hav a
private variable like:
private Collection<Microsoft.Office.Core.CommandBarButton> _internalButtons
= new Collection<Microsoft.Office.Core.CommandBarButton>();

The add in stops. It looks like there is a problem with generic collection.
When I comment this private variable the add in works.

Does any one has the same problem? What is wrong with my addin?
 

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