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 / .NET Framework / Internationalization / May 2005

Tip: Looking for answers? Try searching our database.

Get system location info

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Silver - 02 May 2005 22:24 GMT
I need to get the information specified in the system regional & language
options -> regional options -> location.

I thought regional info is linked to CurrentCulture, but couldn't find this
location info anywhere.

Do you have any insight?

Thanks!

John
Michael (michka) Kaplan [MS] - 03 May 2005 01:16 GMT
To get the location info, you must P/Invoke to the GEO APIs.

Signature

MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.

>I need to get the information specified in the system regional & language
> options -> regional options -> location.
[quoted text clipped - 8 lines]
>
> John
Mike Silver - 04 May 2005 15:04 GMT
Michael,
Thanks for reply.
From which name space do I get GEO API? Is this part of .net framework or
System API?
John

> To get the location info, you must P/Invoke to the GEO APIs.
>
[quoted text clipped - 10 lines]
> >
> > John
Michael (michka) Kaplan [MS] - 04 May 2005 18:07 GMT
It is a bunch of win32 functions, none of it is currently exposed in the
.NET Framework.

See http://blogs.msdn.com/michkap/archive/2005/02/04/366922.aspx for more
info on the APIs.

Signature

MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.

> Michael,
> Thanks for reply.
[quoted text clipped - 17 lines]
>> >
>> > John

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.