[Mono-list] Embedding of SWF icon into executable
Chris Aitken
chris at ion-dreams.com
Thu Nov 17 06:54:17 EST 2005
> I have a basic form, and have an icon for the form:
>
> this.Icon = new Icon("icon.ico";
>
> The code compiles happily, and runs happily on my system.
> Move the executable to a system where icon.ico does not exist
> (or move icon.ico), and the executable falls over.
>
> When I use SharpDevelop, or VS the icon is somehoe included
> into the executable.
>
> How to do this with mono/monodevelop?
Answering my own post:
This.Icon = new Icon(GetType(),"icon.ico");
Chris
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Mono-list
mailing list