[Basic OO]Regler le volume sonore
Bonjour
comment regler le volume sonore dans Basic Open Office
j'ai bien ceci mais je n'arrive pas a placer dans la fonction le parametre " A " pour regler le volume sonore
Code:
1 2 3 4 5 6 7 8 9
|
Declare Function PlaySound2 Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long
function CommandSound(A)
'reglage son
' sndvol32 [-D audio_device_number] [-Record | -Play] [-Normal | -Small | -Tray]
Dim R As Long
R = Shell("sndvol /p", vbNormalFocus)
End function |
merci