views:

154

answers:

2

Hi Everyone, Within Control Panel -> Regional and Language Options, there is a Formats tab, with a drop down of all possible language formats. I wish to retrieve this list using VB.NET. Could anyone point in the direction of which Windows API call to use?

Thanks

A: 

Did you try System.Globalization.CultureInfo.GetCultures(CultureTypes.AllCultures)? Returns an array with all available cultures. No need for Windows API. Have a look at the other CultureTypes values to filter the culture list.

OregonGhost
Thanks Oregon, That's what I need.
Charlie White
A: 

You should take a look on the System.globalization.CultureInfo class in .net framework. http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx

Alex Reitbort