Home All Groups Group Topic Archive Search About

Retrieving the Telephony CountryList from the Registry

Author
13 Dec 2006 5:04 PM
Kaine
I was wondering if there was an API call in Windows that would allow us to
fetch the Telephony CountryList from the registry without using the registry
commands in .NET?  Basically we are wanting to retrieve the list of
international telephone prefixes for each country.

Author
13 Dec 2006 5:42 PM
Gabriel Lozano-Morán
To give you some advice, I would not retrieve telephone prefixes from the
registry. Instead either download a list from the internet or even manually
inputting them in a database would be better. If a database is not an option
than even putting them in an XML file or other file format would still be
better than retrieving them from the registry. I understand that you don't
want direct registry calls, nevertheless these Win32 native calls would
still access the registry.

Any reason why you want to retrieve these from the system?

Gabriel Lozano-Morán
http://www.pointerx.net

Show quote
"Kaine" <Kaine@newsgroup.nospam> wrote in message
news:9F84DB1A-82FD-4C02-8BC9-B59DCFDB6CBE@microsoft.com...
>I was wondering if there was an API call in Windows that would allow us to
> fetch the Telephony CountryList from the registry without using the
> registry
> commands in .NET?  Basically we are wanting to retrieve the list of
> international telephone prefixes for each country.
Author
13 Dec 2006 6:10 PM
Gabriel Lozano-Morán
Under the motto "give a man a fish and you will feed him for a day. Teach a
man how to fish and you will feed him for the rest of his life" here is a
lead:

http://msdn2.microsoft.com/en-us/library/aa377507.aspx

Gabriel Lozano-Morán
http://www.pointerx.net

Show quote
"Kaine" <Kaine@newsgroup.nospam> wrote in message
news:9F84DB1A-82FD-4C02-8BC9-B59DCFDB6CBE@microsoft.com...
>I was wondering if there was an API call in Windows that would allow us to
> fetch the Telephony CountryList from the registry without using the
> registry
> commands in .NET?  Basically we are wanting to retrieve the list of
> international telephone prefixes for each country.
Author
14 Dec 2006 9:53 AM
Kaine
Thanks for the information.   I think you are right we probably will use a
table in the database.



Show quote
"Gabriel Lozano-Morán" wrote:

> Under the motto "give a man a fish and you will feed him for a day. Teach a
> man how to fish and you will feed him for the rest of his life" here is a
> lead:
>
> http://msdn2.microsoft.com/en-us/library/aa377507.aspx
>
> Gabriel Lozano-Morán
> http://www.pointerx.net
>
> "Kaine" <Kaine@newsgroup.nospam> wrote in message
> news:9F84DB1A-82FD-4C02-8BC9-B59DCFDB6CBE@microsoft.com...
> >I was wondering if there was an API call in Windows that would allow us to
> > fetch the Telephony CountryList from the registry without using the
> > registry
> > commands in .NET?  Basically we are wanting to retrieve the list of
> > international telephone prefixes for each country.
>
>
>

AddThis Social Bookmark Button