Jul 25, 2003 #1 W wyrd Senior Contributor Joined Aug 23, 2002 Messages 1,405 Location California 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.
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.
Jul 25, 2003 #2 V Volte Neutiquam Erro Joined Nov 17, 2002 Messages 2,172 Sure. Add it to your project and change it's Compile Action to "Embedded Resource". Then access it like this: Visual Basic: Image.FromStream([Assembly].GetExecutingAssembly.GetManifestResourceStream("Namespace.filename.ext"))
Sure. Add it to your project and change it's Compile Action to "Embedded Resource". Then access it like this: Visual Basic: Image.FromStream([Assembly].GetExecutingAssembly.GetManifestResourceStream("Namespace.filename.ext"))
Jul 25, 2003 #3 W wyrd Senior Contributor Joined Aug 23, 2002 Messages 1,405 Location California Hmm.. interesting. I'll give it a shot, thanks.