[Mono-list] Sharpdevelop problem with resources

Paul F. Johnson paul at all-the-johnsons.co.uk
Mon Dec 17 08:46:43 EST 2007


Hi,

Sorry if this is the wrong list, but I've restricted access at work.

When I've written code using VS.NET to create a resource file, I can define a
text file (in my case, it's a plain text help file) as a resource and then
just have in the code

richtextbox1.Text = global::marker.Properties.help

and the text comes out in the textbox.

For some reason, when I define the text file in SharpDev as a resource, first
it's defined as a byte[] rather than a string and second if I use

richtextbox1.Text = (global::marker.Properties.help).ToString();

nothing comes out.

Is this a sharpdevelop bug or a problem in how I've set up the resx file?

TTFN

Paul

--
Get your free @ukpost.com account now
http://www.ukpost.com/



More information about the Mono-list mailing list