Hi all.
In my application I use SaveFileDialog as follows.
SaveFileDialog exportFileDialog = new SaveFileDialog();
exportFileDialog.Filter = "csv files (*.csv)|*.csv";
exportFileDialog.RestoreDirectory = true ;
exportFileDialog.CreatePrompt = true;
Since I have enabled CreatePrompt to true, for every new file am
prompted with a message box with the following message.
"C:\xyx.csv" does not exist. Do you want to create it?"
My issues is that, when I execute this application in French Windows
XP, title and the buttons of this message box are translated to French
but the above message is in English. I don't understand why this
message ("...does not exist. Do you want to create it?") is not
translated to French?
Title was translated to "Enregistrer sous" and OK and cancel was
translated to "Oui" & "Non".
Thanks in advance.
A. Petrov - 31 Jul 2006 17:27 GMT
Most probably this problem occurs if you install English .NET framework over
French Windows.
Standard .NET dialog components does not localize some strings.
Show your own dialog in FileOk event and set CreatePrompt to false.
Regards,
Alex
http://www.componentage.com
> Hi all.
>
[quoted text clipped - 21 lines]
>
> Thanks in advance.