Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2006

Tip: Looking for answers? Try searching our database.

SaveFileDialog translation issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
berylwilson@gmail.com - 31 Jul 2006 10:31 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.