How to read a resource file from C# (SP1)?

S

StefanO-nl

Is it possible to read a resource file (that isn't a secondary datasource) in managed code (the FormCode.cs-file)?
 
S

StefanO-nl

If it's an xml-file, you could use:
IXMLDOMDocument xmlDocument = thisXDocument.CreateDOM();
xmlDocument.load("myxml.xml");

But what if the resource is a text file or an image?
 
Top