Country Code - How can one find it.

T

Thatch

Does anyone know where the default country code is stored for Outlook i.e. 1
for US, 44 for England?

One of my applications transfers phone numbers to Outlook, however, I ask
the user to set the default country code manually. It would be nice to find
out the country code for the PC (or Outlook) and then set that as the default
on my software. Anyone know where this is stored and how to get to it?
 
K

Ken Slovak - [MVP - Outlook]

That information is based on the Windows settings and is stored in the
registry. Google for GetLocaleInfo(), a Win32 API function to see how to get
that information in various programming languages.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top