Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update a resource file dynamically

Tags:

c#

We have a Res1.resx and it has a file1.doc. Later we would like to replace file1.doc with file2.doc in the resx file based on business rule. How to achieve this. Thanks N

like image 783
np. Avatar asked Jan 11 '10 11:01

np.


People also ask

How do you update a resource file?

To update the resource file, you must modify a copy of the resource file, and then add the updated resource file to the form template. When you add the updated resource file to your form template, you are actually replacing the existing resource file.

What is a .resx file?

A . resx file contains a standard set of header information that describes the format of the resource entries, and specifies the versioning information for the XML code that parses the data. These files contain all the strings, labels, captions, and titles for all text in the three IBM Cognos Office components.


2 Answers

you should have a look at ResXResourceWriter and ResXResourceReader

like image 93
Wouter Avatar answered Oct 11 '22 22:10

Wouter


Sorry,i don't think that this could be possible

like image 2
TheQult Avatar answered Oct 11 '22 22:10

TheQult