Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Reading a file from a resx resource

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Claire - 05 Mar 2008 09:40 GMT
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
Claire - 05 Mar 2008 11:31 GMT
I've solved my own problem. Thanks anyway :)
Peter Duniho - 05 Mar 2008 18:31 GMT
> 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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.