Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to code mmsys.cpl

Status
Not open for further replies.

Scoobie200x

Technical User
May 30, 2007
1
NL
Hello all,

i've been looking in tektips and on the internet for a way to write a code so that i can set the audio-output device in mmsys.cpl (audiosettings).

I've seen lots of ppl telling me that it can't be done; i won't stop at that. mmsys.cpl has to store it's settings somewhere.. My first idea would be coding this in VBA.

Does anyone of you have an idea?

Many thanks!

Scoobie
 
If you can find out which registry key gets changed when you change that setting, you can read or write that key using VBA. It's not easy but thankfully someone else has written code to do it. See this page for more info:


Note that this is extremely unlikely to work under Windows Vista.

Regards

Nelviticus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top