Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Icons on menu or toolbar not displayed

$
0
0

Hi,

I have an add-in that creates new menu and a toolbar. It was working fine with the VS .NET 2003 version, but for VS .NET 2005 bmp images are not displayed in menu and toolbar. I am using Satellite DLL for the bmp images and using registry entry to register the add-in with VS 2005. I have searched this forum to see the related issues and have tried all the ideas given by Craig and other people, but no luck  .  I tried (as suggested by Craig in one of the replies) calling this method to see if the satellite DLL loads or not, and it works fine and shows me the correct location of DLL.

Sub SatDll()

MsgBox(DTE.AddIns.Item("ProgID").SatelliteDllPath)

EndSub

 

I am using the following command to add the commands to the menu and toolbar:

Commands.AddNamedCommand2(addInInstance, AName, ACaption, ADescription, False, AImageIndex,

Nothing, 3, vsCommandStyle.vsCommandStylePictAndText, vsCommandControlType.vsCommandControlTypeButton)

I can see just the text on the menu, but no icons.

Can someone suggest anything else I can try.

Thanx,

Nsharma

 

 


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>