Outlook contact country / region Info internationalization problem

A

Abhishek

Hi,

If i am working in the office environment then the language of office
can be different the language of windows.
Now in IPM.Contact object in the office environment there's a way to
set the Country Name for address of the contact.
While automating on this object model i want to default the country of
the newly created contact to the current country. Now as i understand
i can get the 2/3 letter ISO code for the country from the RegionInfo
class and if use the DisplayName property on this object then i get
the current country as String in the current language of OS.
However there's a possibility that the language of office is different
then the language of OS and in this case i might be defaulring the
country name to a wrong value (Since sam country name can be displayed
as different strings in different languages)
Is there a way to find the country name in the language of outlook or
in other words any given language.

Any help will be great on this topic....

Thanks,
Abhishek
 

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