Combining resources DLLs

P

Paul E Collins

I'm trying to get my head around .NET localisation.

When I localise a Windows form (using the Localizable and Language
properties), Visual Studio generates the appropriate resource DLLs and
folders (such as 'en-US' for US English).

However, I also want dynamic run-time resources for non-forms
purposes, such as error messages and default values. I know that I can
create and access such a resource DLL using the Resgen tool and
ResourceManager class, but this means I have two DLLs with the same
filename.

How can I combine my resources with those generated by Visual Studio -
or is there a better approach to this problem?

Thanks in advance.

P.
 
M

Mohamoss

Hi Paul
You can show all files in your project, open the resource file , then in
the data view you can add a name value pairs that you can retrieve later
from within your code you can do that from the xml file as well. It is as
if you are using config file for the application.
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

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