E
Ed Bennett
Does anyone know why a shared add-in built in VS05 would fail to start?
I've built a Publisher add-in in VB05 using exactly the same methods as
work for Publisher 2003/VS03, but when starting it in debug mode, it
does not fire the OnConnection event (or any other event, for that
matter). Attempting to add it through Tools > Add-ins > Add returns the
message that the DLL 'is not an Office add-in' (suggesting that Connect
isn't firing as the add-in is silently not loading).
I have the Trust Center set to enable all add-ins and VBA code (as a
troubleshooting step, not as a normal environment).
At first VS had made a reference to the Office11 object library instead
of the Office12 one, but I've corrected that and the same issue occurs.
At the time, I had both Pub11 and Pub12 installed, but have since
removed Pub11 to try and troubleshoot.
I've installed KB908002 (although Patrick Schmid says at
http://pschmid.net/blog/category/office-2007/office-2007-developer/ that
it isn't necessary) to no avail.
Publisher is unsupported by VSTO, so I have to use a shared add-in (or
dig out VS6 and rewrite all my code).
I've successfully developed a console application on this system against
Publisher, suggesting that PIAs aren't the issue.
Can anyone offer any advice? Thanks!
I've built a Publisher add-in in VB05 using exactly the same methods as
work for Publisher 2003/VS03, but when starting it in debug mode, it
does not fire the OnConnection event (or any other event, for that
matter). Attempting to add it through Tools > Add-ins > Add returns the
message that the DLL 'is not an Office add-in' (suggesting that Connect
isn't firing as the add-in is silently not loading).
I have the Trust Center set to enable all add-ins and VBA code (as a
troubleshooting step, not as a normal environment).
At first VS had made a reference to the Office11 object library instead
of the Office12 one, but I've corrected that and the same issue occurs.
At the time, I had both Pub11 and Pub12 installed, but have since
removed Pub11 to try and troubleshoot.
I've installed KB908002 (although Patrick Schmid says at
http://pschmid.net/blog/category/office-2007/office-2007-developer/ that
it isn't necessary) to no avail.
Publisher is unsupported by VSTO, so I have to use a shared add-in (or
dig out VS6 and rewrite all my code).
I've successfully developed a console application on this system against
Publisher, suggesting that PIAs aren't the issue.
Can anyone offer any advice? Thanks!