Viscom Software SoundVolume ActiveX Control

W7SetCurrentDevice method

Description:   

Set the current device. It support playback device or recording device (this method support on windows 10, windows 8, windows 7 and vista only).

Usage:   

SoundVolume1.W7SetCurrentDevice

Parameters:   

String - the device name of selected device

Return Type:   

Return true if successful.

Example:   

SoundVolume1.W7SetCurrentDevice Combo1.List(Combo1.ListIndex)

volume = SoundVolume1.W7GetDeviceVolume

leftbal = Me.SoundVolume1.W7GetDeviceLeftBalance

rightbal = Me.SoundVolume1.W7GetDeviceRightBalance