Windows Registry Key in Windows 7 (Telephony)

S

Steven Alexander

Hi ... I was using the key
SOFTWARE\Microsoft\CurrentVersion\Telephony\Country List to retrieve the
phone code of the country. It was working fine in Windows Vista. I have the
Windows 7 Beta (build 7000) and I don't see this key. Was it moved to other
place? if so...where? Or is not supported any more?

Thank you
Steven Alexander
 
A

Andrew Morton

Steven said:
Hi ... I was using the key
SOFTWARE\Microsoft\CurrentVersion\Telephony\Country List to retrieve
the phone code of the country. It was working fine in Windows Vista.
I have the Windows 7 Beta (build 7000) and I don't see this key. Was
it moved to other place? if so...where? Or is not supported any more?

Do you need to use the Phone and Modem Options control panel to set it up
first?

Andrew
 
G

Gary Bouchard

Steven,

I have found out two things about this... It effected me also.

One is that Andrew is correct that the Registry key may not exist in Windows
7 if you do not setup the regional information.

Secondly, I found that accessing the key in VB6 was slightly different and
one version needs a backslash and one doesnt... here's what I came up with
and it works fine;

sWindowsVersion = WindowsVersion
If CInt(Right$(WindowsVersion, 1)) > 7 Then
MasterKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Country
List"
Else
MasterKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Country
List\"
End If

I hope that helps!
Gary
 

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