473,385 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to run resgen in code

Hi All

I want to convert a resx file to resource file in ASP.NET code (means I
want to run resgen utility through coding) can I do that? if yes then
how?

Thanks in advance
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #1
4 3650
You can use the ResourceWriter and the ResXResourceReader classes to
convert resx files to .resources

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
Avanish Pandey wrote:
Hi All

I want to convert a resx file to resource file in ASP.NET code (means I
want to run resgen utility through coding) can I do that? if yes then
how?

Thanks in advance
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #2

Hello Sijin,

Thanks for reply, but can you provide some help code, or some link for
how to use ResourceWriter and the ResXResourceReader classes to convert
resx files to .resources.

Avanish Pandey

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3
Hi Avanish,

Check out the quick start samples on Resources in MSDN, one of the
samples has a .resx to resources converting code.
http://msdn.microsoft.com/library/de...oresources.asp

Let me know if you have any other doubts.

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
Avanish Pandey wrote:
Hello Sijin,

Thanks for reply, but can you provide some help code, or some link for
how to use ResourceWriter and the ResXResourceReader classes to convert
resx files to .resources.

Avanish Pandey

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #4
Hi Avanish,

Check out the quick start samples on Resources in MSDN, one of the
samples has a .resx to resources converting code.
http://msdn.microsoft.com/library/de...oresources.asp

Let me know if you have any other doubts.

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
Avanish Pandey wrote:
Hello Sijin,

Thanks for reply, but can you provide some help code, or some link for
how to use ResourceWriter and the ResXResourceReader classes to convert
resx files to .resources.

Avanish Pandey

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ben Jones | last post by:
Hi there, I am looking into the ease of implementing the localization/globalization features of .NET using C#. I have a test app which creates a ResourceManager and attempts to load a resource...
0
by: Paul | last post by:
My Windows Forms C# project contains a simple text file that contains string resources. At present, I am using 'resgen.exe' from the command-prompt to produce a '.resources' file whose build...
1
by: Frank Jones | last post by:
When manually running resgen.exe from the command prompt (Visual Studio .NET 2003 command prompt) I get the following error: error: Invalid ResX input. error: Specific exception:...
1
by: Roman Muntyanu | last post by:
Hi all ! After I run resgen my.fr-CA.txt my.fr-CA.resx I got my.fr-CA.resx without any french characters, they were cut at all. How to let resgen know about language specific encoding ? ...
0
by: Marc LEVREL | last post by:
Hello, I can't create a Form .Net in Visual C++. I create a new project .Net "Applications Windows Forms" with Visual C++, Without modifying anything, I got a compile error when resgen is...
0
by: Severino | last post by:
Hi all, this post follows the previous one titled "VC++.NET bug or missing setting inside the project?" with further details about the problem: To make a summary of the previous post we have a...
1
by: Namratha Shah \(Nasha\) | last post by:
Hi All, This is a resource file generation tool which converts an xml based resource formats to .net resource file i.e. (.resources) and vice-versa. Today we will see how we will generate ...
0
by: hungrymind | last post by:
Hi All, I am trying to create automated build server using Nant, WIX with net 2.0. On my local machine when I compile with framework 2.0 it works fine however when I run it on other machine it...
1
by: SQACPP | last post by:
I have an error when compiling a simple form project... I just start a new Form project and add a new PictureBox in a form(or anything that generate the .resx file) After that when compiling I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.