wyrd Posted July 26, 2003 Posted July 26, 2003 Is it possible to compile bitmaps directly into the executable? I'd hate to tug around an extra 15k file when it's not necessary. Quote Gamer extraordinaire. Programmer wannabe.
*Experts* Volte Posted July 26, 2003 *Experts* Posted July 26, 2003 Sure. Add it to your project and change it's Compile Action to "Embedded Resource". Then access it like this:Image.FromStream([Assembly].GetExecutingAssembly.GetManifestResourceStream("Namespace.filename.ext")) Quote
wyrd Posted July 26, 2003 Author Posted July 26, 2003 Hmm.. interesting. I'll give it a shot, thanks. Quote Gamer extraordinaire. Programmer wannabe.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.