AnsweredAssumed Answered

AddCommandItem2 / change addin menu icon

Question asked by Jerome De San Nicolás on Jun 7, 2019
Latest reply on Jun 10, 2019 by Jerome De San Nicolás

Hi all

I am making a VB.net addin and I have a question about the AddCommandItem2 Method

 

The method work well (I can make a menu with button without problem) but I don't get how to change the icons. 

 

I don't understand how to use the ImageListIndex parameter and how can I link this parameter to the resources folder in Visual Studio : 

 

Do I need to make a specific ImageList object ?

something like : 

 

0    -> resources.Fold.png

1    -> resource.Image2.png

 

ect ?? 

 

I don't known where to look for information.

Thx for help

Outcomes