
Signature
Regards,
Zack Barresse, aka firefytr, (GT = TFS FF Zack)
To email, remove the NO SPAM. Please keep correspondence to the board, as
to benefit others.
> I have the code I want to make the toolbar, that is not an issue at
> all. But getting it into an addin for Publisher is quite another task.
Did you install Publisher before or after installing VS2005?
If before, you may need to reinstall Publisher, using a Custom installation,
to make sure that you have the Primary Interop Assemblies (PIAs) for
Publisher 2003 installed.
If after, they should have been installed automatically.
I haven't developed a Publisher add-in with VS2005 yet, so the advice I'm
giving is what worked with VS.NET2003 (should work with VS2005 as well).
You need to add a reference in your project to the Publisher 11.0 Object
Library (as a COM component); this will actually point to the Publisher PIA
in the Global Assembly Cache (unless the PIAs aren't installed, in which
case VS will build one, which won't work).
You also need to alter the macro security in Publisher to "Trust all
installed templates and add-ins", otherwise your code will not run.

Signature
Ed Bennett - MVP Microsoft Publisher
Zack Barresse - 18 Jan 2006 16:32 GMT
Ah, so The PIA is the issue I have to deal with. I actually just
reinstalled it yesterday (Publisher) again, choosing Complete Install. I'll
check for that (as I haven't gotten back to it after the install) and make
sure it's there.
Thanks very much Ed, much appreciated. Will let you know if it worked or
not.
Take care,
Zack Barresse
>> I have the code I want to make the toolbar, that is not an issue at
>> all. But getting it into an addin for Publisher is quite another task.
[quoted text clipped - 19 lines]
> You also need to alter the macro security in Publisher to "Trust all
> installed templates and add-ins", otherwise your code will not run.
Zack Barresse - 08 Feb 2006 20:28 GMT
I finally got VB6 and created the addin just fine. Thanks for all your
help. :)

Signature
Regards,
Zack Barresse, aka firefytr, (GT = TFS FF Zack)
To email, remove the NO SPAM. Please keep correspondence to the board, as
to benefit others.
>> I have the code I want to make the toolbar, that is not an issue at
>> all. But getting it into an addin for Publisher is quite another task.
[quoted text clipped - 19 lines]
> You also need to alter the macro security in Publisher to "Trust all
> installed templates and add-ins", otherwise your code will not run.