[Mono-devel-list] Re: How to make a SETUP or INSTALLER to DEPLOY

Alessandro Torrisi alessandro.torrisi at eurone.it
Thu Aug 26 05:37:12 EDT 2004


Hi!, So if I understood well...

XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(Assembly.GetExecutingAssembly().GetManifestResourceStream("Foo.xml"));

xmlDoc.Load wants as actual parameter a stream, here given by the method 
GetManifestResourceStream("Foo.xml"), in this way I can load images or what I 
want...right ?

So for example If I want to embed an image could be for example...

Image image = 
Image.FromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream("Screen.png"));

Right ?
But if for example I want to include some .glade file in which I specify the 
images, well I think this is not possible...could be ?

Best regards, 
Alex.




More information about the Mono-devel-list mailing list