Instead of "101" and "102" you need to give the full path to the bitmap files.
If they are in .res files, you will need to save them out (e.g. to the Temp folder)
"projectst" and "showReports" need to be the names of public sub-routines in your main addin class.
Thank you very much Simon
It worked well.
I have removed now .res file & it is working
Now I have next problem is my button images does not show
only image for first button appears which is small1.bmp
functions are getting executed correctly but images are not appearing
How to get images correctly on button
Pleae guide me
axToolbarID1 = axSldWorks.AddToolbar4(AXCookie, "Project Tools", App.Path & "\small1.bmp", App.Path & "\small2.bmp", 0, swDocTemplateTypeDRAWING)
bRet = axSldWorks.AddToolbarCommand2(AXCookie, axToolbarID1, 0, "projectst", "EnableIfPart", "Project Level Data", "Shows data at project level")
bRet = axSldWorks.AddToolbarCommand2(AXCookie, axToolbarID1, 1, "sychronize", "EnableIfPart", "Database Synchronization", "Synchronize with database")
bRet = axSldWorks.AddToolbarCommand2(AXCookie, axToolbarID1, 2, "showPLReports", "EnableIfPart", "PL List", "Creates Pipeline Reports")
Can you attach your small1.bmp file so I can check it?
Thanks. You only have one image in that file. You need to create the entire toolbar in the bitmap. So if you have 3 buttons on the toolbar, your bitmap needs to be 48 pixels long and 16 high.