Alan Green said:
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"?
--
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.