|
-
Sep 27th, 2003, 02:08 AM
#1
Thread Starter
Member
How to set command image/icon in a commandbar of Addin applicaiton
hi,
currently i am developing an addin application using vb.net. does anyone know how to set command image/icon? i know 2 ways that might work but i just dont know the right way.
First, by setting the MsoButton parameter of the function AddNamedCommand to False and set the bitmap parameter to the image ID of a VISUAL C++.NET DLL resource file. My problem is how to create a resource file that resides in dll file and must be written in VC++.NET.
Secondly, perhaps by setting Picture property of command object(convert to CommandBarButton) to the desired image of IPictureDisp interface. My problem is how to get the IPictureDisp object/interface from a file.
Thank for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|