J
John J. Hughes II
I use several embedded resources but sometimes have trouble determining
their path. Currently I have one that will not work at all and was
wondering what I did wrong.
Name space is: MyApp
Sub directory: icons
Name: coin.ico
I am trying to load a icon file like this.
return new Bitmap(GetType(), "icons.coins.ico");
I have tired:
MyApp.icons.coins.ico
icons.coins.ico
coins.ico
but none of them work.
What am I doing wrong?
Coins.ico is set as embedded with the compiler.
Regards,
John
their path. Currently I have one that will not work at all and was
wondering what I did wrong.
Name space is: MyApp
Sub directory: icons
Name: coin.ico
I am trying to load a icon file like this.
return new Bitmap(GetType(), "icons.coins.ico");
I have tired:
MyApp.icons.coins.ico
icons.coins.ico
coins.ico
but none of them work.
What am I doing wrong?
Coins.ico is set as embedded with the compiler.
Regards,
John