> 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.

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to