>is there another way of retrieving this resource ? why is it embedded as BCCI.CustomUIControls.skin.bmp ? any help much app...
It is embedded as BCCI.CustomUIControls.skin.bmp because you probably have a folder called CustomUIControls in your BCCI project, correct?
Lately I have started adding resource files to my projects (look for it when adding a new file). I do this because VS auto generates alot of code for me.
In the code below I added a resources file called Resource1.resx to my project and added aimage file called tux.png, and here is the code I need to display the png in a picturebox in a form:
this.pictureBox1.Image = Resource1.tux;
The auto generated code looks like this:
internal static System.Drawing.Bitmap tux {
get {
object obj = ResourceManager.GetObject("tux", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
Hope this helps.
Semper ubi sub ubi.