Click here to Skip to main content
15,891,943 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
Manas Bhardwaj27-Aug-08 1:42
professionalManas Bhardwaj27-Aug-08 1:42 
GeneralRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
vinay_K27-Aug-08 1:51
vinay_K27-Aug-08 1:51 
GeneralRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
Manas Bhardwaj27-Aug-08 1:54
professionalManas Bhardwaj27-Aug-08 1:54 
GeneralRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
vinay_K27-Aug-08 2:11
vinay_K27-Aug-08 2:11 
GeneralRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
Manas Bhardwaj27-Aug-08 2:32
professionalManas Bhardwaj27-Aug-08 2:32 
QuestionBarCode Report Pin
md_refay27-Aug-08 1:21
md_refay27-Aug-08 1:21 
Questioncapturing plug and play events in C# Pin
sibisusan27-Aug-08 1:02
sibisusan27-Aug-08 1:02 
QuestionEditing resource files for different languages, string don't persist Pin
steve_rm27-Aug-08 0:59
steve_rm27-Aug-08 0:59 
Hello

VS 2008

I have a resource file called Form1.fr-FR.resx which has been added to my project when I set the local and language of the form.

In my Form1.fr-FR.resx I have button1.Text, button2.Text. I have set the culture to fr-FR so when the form starts its displays the french language in the buttons.

However, I would like to include some string of my own in this file. I have added strName, strAddress as I want to display these in a message box. However, when I add more control to the form the string I have added get deleted. When I open the Form1.fr-FR.resx using edit plus the string are there. However, when I try and display them, I just get a blank.

Is there some reason that the strings don't persist in the resource file?

Some code that I am using:

Dim rm As New ResourceManager("LanCulture.Form1", Me.[GetType]().Assembly) <br />
Console.WriteLine(rm.GetString("strName", Thread.CurrentThread.CurrentUICulture))


Many thanks for any advice on this,
AnswerRe: Editing resource files for different languages, string don't persist Pin
Manas Bhardwaj27-Aug-08 1:04
professionalManas Bhardwaj27-Aug-08 1:04 
QuestionHow to freeze an application? Pin
Anneke27-Aug-08 0:45
Anneke27-Aug-08 0:45 
AnswerRe: How to freeze an application? Pin
User 665827-Aug-08 0:57
User 665827-Aug-08 0:57 
GeneralRe: How to freeze an application? Pin
Anneke27-Aug-08 5:04
Anneke27-Aug-08 5:04 
GeneralRe: How to freeze an application? Pin
Thomas Stockwell27-Aug-08 6:10
professionalThomas Stockwell27-Aug-08 6:10 
AnswerRe: How to freeze an application? [modified] Pin
oobimoo27-Aug-08 1:36
oobimoo27-Aug-08 1:36 
JokeRe: How to freeze an application? Pin
carbon_golem27-Aug-08 2:18
carbon_golem27-Aug-08 2:18 
GeneralRe: How to freeze an application? Pin
chaiguy133727-Aug-08 4:35
chaiguy133727-Aug-08 4:35 
AnswerRe: How to freeze an application? Pin
chaiguy133727-Aug-08 4:55
chaiguy133727-Aug-08 4:55 
GeneralRe: How to freeze an application? Pin
Anneke27-Aug-08 5:20
Anneke27-Aug-08 5:20 
GeneralRe: How to freeze an application? Pin
chaiguy133727-Aug-08 5:25
chaiguy133727-Aug-08 5:25 
QuestionMS Word and Excel from C# Pin
Piyush Vaishnav27-Aug-08 0:38
Piyush Vaishnav27-Aug-08 0:38 
AnswerRe: MS Word and Excel from C# Pin
Manas Bhardwaj27-Aug-08 0:49
professionalManas Bhardwaj27-Aug-08 0:49 
AnswerRe: MS Word and Excel from C# Pin
Anthony Mushrow27-Aug-08 1:43
professionalAnthony Mushrow27-Aug-08 1:43 
GeneralRe: MS Word and Excel from C# Pin
Piyush Vaishnav27-Aug-08 18:10
Piyush Vaishnav27-Aug-08 18:10 
QuestionReaching sql database diagram using smo ?? Pin
omegazafer26-Aug-08 23:43
omegazafer26-Aug-08 23:43 
AnswerIgnore Repost Pin
Manas Bhardwaj27-Aug-08 0:04
professionalManas Bhardwaj27-Aug-08 0:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.