Reading a file from a resx resource

C

Claire

Ive added a html file to a resx resource so that I can localize it.
How do I read this back in please?
The designer code that vis studio 2005 autogenerates when I add the file is
as follows

internal static string MSummary
{
get {return ResourceManager.GetString("MSummary", resourceCulture);}
}

Im not sure what I'm expecting to receive if I use
resourceManager.GetObject(Database_FileResources.MSummary);
(or even if Im using the correct method of retrieving it)

thanks
Claire
 
P

Peter Duniho

I've solved my own problem. Thanks anyway :)

It is customary, if you've managed to answer your own question, to follow
up your own post with the answer.

The newsgroup isn't just here to answer your questions. It's to provide a
forum where others can see both the question and the answer, both now as
well as later in archives of the newsgroup. If your question was worth
asking, it's worth you posting the answer too.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top