Put a small loop in place where the msgbox is using the sleep command, search in google for the sleep declaration, may help.
im sorryt his is such a dumb question but i think my code is in check and it just wont work
my mousedown has this code
and my module has this codeCode:Dim sSoundName As String sSoundName = App.Path & "\click.wav" PlaySound sSoundName, CLng(0), 1
Code:Public Declare Function PlaySound Lib "winmm.dll" _ Alias "PlaySoundA" (ByVal lpszName As String, _ ByVal hModule As Long, ByVal dwFlags As Long) As Long
now if i place a MsgBox inbetween these two lines of code i hear the click if i remove it it goes away
thanks alotCode:Dim sSoundName As String MsgBox "" sSoundName = App.Path & "\click.wav" PlaySound sSoundName, CLng(0), 1
.______
| '_ |__\___
[(o)|___(o)] XB
._________
| I__I I_I|_\__I
[(o)______(o)]b VanPimpin'
LostReceptions Apps D/L Here
GPSGasoline- Rewriting
Draw- SkribblePad for Touchscreens
iGQwerty-iG3.0 Qwerty Keyboard
CarPCNetwork
Put a small loop in place where the msgbox is using the sleep command, search in google for the sleep declaration, may help.
nope no go still has the same behavior
.______
| '_ |__\___
[(o)|___(o)] XB
._________
| I__I I_I|_\__I
[(o)______(o)]b VanPimpin'
LostReceptions Apps D/L Here
GPSGasoline- Rewriting
Draw- SkribblePad for Touchscreens
iGQwerty-iG3.0 Qwerty Keyboard
CarPCNetwork
right now you're playing the sound asynchronously...change the '1' to '0' to play it synchronously
that fixed it thanks alotOriginally Posted by SFiorito
.______
| '_ |__\___
[(o)|___(o)] XB
._________
| I__I I_I|_\__I
[(o)______(o)]b VanPimpin'
LostReceptions Apps D/L Here
GPSGasoline- Rewriting
Draw- SkribblePad for Touchscreens
iGQwerty-iG3.0 Qwerty Keyboard
CarPCNetwork
no problem, you'll be getting the bill in a few days....$50/hour.
![]()
Bookmarks