sounds

askevish
10-26-2001, 08:46 AM
What i want to do is when i click a command button get sounds to start from the start. What i have now is is auto starts and i just unmute it how i have to change the properties to make it start when command button is click pleas help

Squirm
10-26-2001, 08:52 AM
You can use the PlaySound API:

<pre>Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long</pre>

Look here for more info (VB Api) (http://www.vbapi.com/ref/p/playsound.html)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum