-
So when I try to use this code:
it gives the exception of Arg_OutOfRangeException. Any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
DemioMAD
Jun 27, 2025
Replies: 2 comments 3 replies
-
Are you sure your bitmap is correct? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Try putting your bitmap outside the isoFiles folder and putting it in another folder, setting that file to Embedded Resource, and doing this: // Make sure to include this: IL2CPU.Attribs
[ManifestResourceStream(ResourceName = "projectname.folder.filename.extension") public static byte[] smileyface;
// Bitmap initialization code
Bitmap smiley = new Bitmap(smileyface); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
tails1154
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try putting your bitmap outside the isoFiles folder and putting it in another folder, setting that file to Embedded Resource, and doing this: