SetDefaultAudioEndpoint

Description

SetDefaultAudioEndpoint (Set Default Audio Endpoint) allows users to set the default audio playback device using computer code. The solution opens the Sound Control Panel and uses the Microsoft UI Automation accessibility framework to make changes.

Source Files

The download file sdae.zip has the following entries.


BuildProcessTemplates/DefaultTemplate.11.1.xaml
BuildProcessTemplates/LabDefaultTemplate.11.xaml
BuildProcessTemplates/UpgradeTemplate.xaml
SetDefaultAudioEndpointSolution/ClassLibraryProject/AudioEndpointNotFoundException.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/ClassLibraryProject.vbproj
SetDefaultAudioEndpointSolution/ClassLibraryProject/ClassLibraryProject.vbproj.vspscc
SetDefaultAudioEndpointSolution/ClassLibraryProject/IAudioEndpoint.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/IAudioEndpointList.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/IWindowsSoundImplementation.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/My Project/Application.Designer.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/My Project/Application.myapp
SetDefaultAudioEndpointSolution/ClassLibraryProject/My Project/AssemblyInfo.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/My Project/Resources.Designer.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/My Project/Resources.resx
SetDefaultAudioEndpointSolution/ClassLibraryProject/My Project/Settings.Designer.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/My Project/Settings.settings
SetDefaultAudioEndpointSolution/ClassLibraryProject/SetDefaultAudioEndpointStrongNameKey.pfx
SetDefaultAudioEndpointSolution/ClassLibraryProject/SystemWindowsAutomationExtensions.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/Windows7Implementation/AudioEndpointList.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/Windows7Implementation/AudioEndpointListControl.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/Windows7Implementation/AudioEndpointListItemControl.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/Windows7Implementation/AudioEndpointTabControl.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/Windows7Implementation/SoundWindow.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/WindowsSound.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/WindowsSoundException.vb
SetDefaultAudioEndpointSolution/ClassLibraryProject/app.config
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/CommandLineParser.vb
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/ConsoleApplication.vb
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/ConsoleApplicationProject.vbproj
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/ConsoleApplicationProject.vbproj.vspscc
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/ExecutionOptions.vb
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/ExecutionOptionsDispatcher.vb
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/My Project/Application.Designer.vb
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/My Project/Application.myapp
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/My Project/AssemblyInfo.vb
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/My Project/Resources.Designer.vb
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/My Project/Resources.resx
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/My Project/Settings.Designer.vb
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/My Project/Settings.settings
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/My Project/app.manifest
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/SetDefaultAudioEndpointStrongNameKey.pfx
SetDefaultAudioEndpointSolution/ConsoleApplicationProject/app.config
SetDefaultAudioEndpointSolution/License.txt
SetDefaultAudioEndpointSolution/README.txt
SetDefaultAudioEndpointSolution/Scripts/SetMediaForHomeTheater.vbs
SetDefaultAudioEndpointSolution/SetDefaultAudioEndpointSolution.sln
SetDefaultAudioEndpointSolution/SetDefaultAudioEndpointSolution.vssscc
SetDefaultAudioEndpointSolution/SetDefaultAudioEndpointStrongNameKey.pfx

Download

Click the following link to download sdae.zip.

sdae.zip
Home »
  Visual Basic.Net Free Code »
    UI »
      UI
List of UI
Class Grades Manager
Content Editor
DNN Live Messenger
Makecert UI
MenuButton Emulsifier
NetWinsock
SetDefaultAudioEndpoint