> Some while back someone posted a question on how to make a TSP the default
> Phone Device. One can do it by modifying the registry key
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Contact\PhoneDevPrim
ary
> but I'd like a better way.
> Currently the user has to click Dialing Options, scroll down to my TSP and
> select it.
Alan,
there is nothing like a default TSP or default phone device in TAPI or in the
OS.
_Each_ TAPI app may proprietary select a device to be _its_ default.
It depends entirely upon the app how to do this.
In addition please note that some TSPs expose multiple devices.
Btw. what are you asking for?
How to select programmatically a default device for Outlook?
Then you already posted the answer: you can programmatically change it via
programmatically changing the registry.
What do you regard as "a better way"?

Signature
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Alan Green - 08 Nov 2005 12:45 GMT
Hello Andreas
Thanks for your answer. You've cleared some concepts up for me - mainly that
what I need is an Outlook setting, and not a TAPI setting.
The reason why I'd prefer to use an API to change the Outlook setting in the
registry is that the key I am changing is not documented. Also, the path is
different for every version of Office.
I cross posted to microsoft.public.outlook.interop - I hope that is the best
group.
Alan
> Alan,
> there is nothing like a default TSP or default phone device in TAPI or in the
[quoted text clipped - 8 lines]
> programmatically changing the registry.
> What do you regard as "a better way"?