Hello,
I'm trying to embed pictures (bmp format) in a dll, in order to use it as a toolbox icon for an ActiveX control. (using registry key ToolboxBitmap32 afterward).
If I manually insert it with third party software (Resedit), it works well and I can see the icon in the toolbar. However I can't find a way to do this with Visual Studio building workflow (version Express 2012).
- I tried adding .bmp files in the project, setting them to "embedded resource".
- I tried creating a .resx resource file, then added the pictures in it and setting the .resx as "embedded resource"
- Finally I tried with resgen and Al. (not really knowing what I was doing)
With all these tests, I was never able to see the embedded pictures with the resedit software after the build process.
I guess I took the wrong direction, but since I'm new to the .Net technologies I don't know what to search, so I'd be grateful if someone could give me a hint.
Thanks!