Jul 25, 2003 #1 wyrd Well-known member Joined Aug 23, 2002 Messages 1,408 Location California Is it possible to compile bitmaps directly into the executable? Id hate to tug around an extra 15k file when its not necessary.
Is it possible to compile bitmaps directly into the executable? Id hate to tug around an extra 15k file when its not necessary.
Jul 25, 2003 #2 V Volte Neutiquam Erro Joined Nov 17, 2002 Messages 2,165 User Rank *Expert* Sure. Add it to your project and change its Compile Action to "Embedded Resource". Then access it like this: Code: Image.FromStream([Assembly].GetExecutingAssembly.GetManifestResourceStream("Namespace.filename.ext"))
Sure. Add it to your project and change its Compile Action to "Embedded Resource". Then access it like this: Code: Image.FromStream([Assembly].GetExecutingAssembly.GetManifestResourceStream("Namespace.filename.ext"))
Jul 25, 2003 #3 wyrd Well-known member Joined Aug 23, 2002 Messages 1,408 Location California Hmm.. interesting. Ill give it a shot, thanks.