Need to add .png or .ico icons to the .dll

A

acherony

I created toolbar for my macros i need to put icons instead of text buttons.

When I copy/paste icons quality will be lost ,look is not sharp enough.(bmp).

I created icons in (png,ico) fromat with magenta(255,0,255) color with is
used by
windows as trasparent color.

Q: how can I add icons to the .dll?
Q:in which .dll
Q:Can I add it to my own dll and then insert reference in my .dot on
myown.dll.

Ps: some tutorial would be useful

thanks in advance

acherony
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?YWNoZXJvbnk=?=,

Office VBA has no facility for creating and using resource files like this. The
2002 and 2003 object models support the Picture and Mask properties of a
CommandBarButton object. These use IPictureDisp to load a graphics file to the
button face.
I created toolbar for my macros i need to put icons instead of text buttons.

When I copy/paste icons quality will be lost ,look is not sharp enough.(bmp).

I created icons in (png,ico) fromat with magenta(255,0,255) color with is
used by
windows as trasparent color.

Q: how can I add icons to the .dll?
Q:in which .dll
Q:Can I add it to my own dll and then insert reference in my .dot on
myown.dll.

Ps: some tutorial would be useful

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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