You have to apply the ToolboxBitmap attribute to your component, like this:
[ToolboxBitmap( typeof( MyComponent ) )] class MyComponent .... Pascal -----Original Message----- From: Pierre Greborio [mailto:[EMAIL PROTECTED]] Posted At: May 14, 2002 9:27 AM Posted To: Dotnet Mailing List Conversation: Bmp for a component Subject: Bmp for a component Hi, I didi a component installed on VS.NET (toolbox) and customized it's image. The namespace of the component is pg.MyNamespace and the component is MyComponent (derived from Component). The bitmap image is 16x16 px and it's name is pg.MyNamespace.MyComponent.bmp. When I install the component on the toolbox I cannot see my image. Any idea ? Thank you Pierre ----------------------------------------------- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it ----------------------------------------------- You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.