how to load strings from resource?

  • Thread starter Thread starter Phil Da Lick!
  • Start date Start date
P

Phil Da Lick!

Hi,

How do I load string out of the resources included with the assembly? Or
even better from another assembly? I'm trying to internationalize my app.

As I see it theres two ways - have a global language assembly that is
dynamically loaded on startup and supply multiple language versions of
this or have a series of language resources built into each assembly.
Whats the best way? And some samples would be nice.

Thanks.
 
Hi Phil

You can use
ResourceManager m_ResourceManager = new ResourceManager() --see msdn for
detailed information on this class

m_ResourceManager.GetString("ResourceStringKeyName")

henk
 
Back
Top