.NET COM-Add-In doesn't work after adding a form

  • Thread starter Alexander Czernay
  • Start date
A

Alexander Czernay

I created a PowerPoint 2003 add-in with the VS.NET 2003 assistant. That
worked perfectly well. Later I added a form for a user dialog. That
broke the whole project! On the development-machine everything is ok,
but when I try to install it to another machine, the add-in doesn't even
connect.

I have no idea on how to solve this. Any help appreciated.

Alexander
 
A

Alexander Czernay

I finally found the soultion and as this might be of interest for many
more, I reply to my own post.

This applies to VB.NET COM-AddIns.

The problem seems to be classes with parameters in the constructor (Sub
New). I've not completly tested this, but it seems that parameters in
any constructor in any class that is packaged with the add-in makes it
fail to load. It might also be possible, that parameters are possible,
but not by reference (ByRef).

Any comments on what lead MS to do stuff like this are welcome!

--ac
 

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