How can I get my program to play a sound when I press a key, or click somewhere? Like:

If keycode = 17 then
'play sound
end if
end sub