Russ,
I don't know of a function to retrieve the information from Windows.
However you could set up a "string table" resource that you then localize.
Every place you need the string, you would retrieve the string wanted from
the resource.
Here are some MSDN articles that should get you started:
http://msdn.microsoft.com/library/de...nalization.asp http://msdn.microsoft.com/library/de...gresources.asp
The directory structure itself is shown at the bottom of:
http://msdn.microsoft.com/library/de...assemblies.asp
When you use VS.NET to create your international resources VS.NET create the
folder structure needed in the bin (output) folder.
I normally use .resx files with VS.NET...
Hope this helps
Jay
"RussC" <Ru***@discussions.microsoft.com> wrote in message
news:B1**********************************@microsof t.com...
(If this is not posted in the right place, please let me know what the
right
place is...)
I understand that French Windows Explorer uses "Ko" as the file size units
where English would use "KB". My C# application is going to display file
sizes and I would like it to use the correct string based on the user's
locale. Is there any way to get the correct string "Ko/KB/whatever" from
.NET or Windows?
-Russ