|
-
Jul 21st, 2004, 08:36 AM
#1
Thread Starter
Addicted Member
Am tryin my best... but
What am i doing wrong just wanna play a wav when form starts .any ideas. please.thanks
paul
Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Private Sub Form_Load()
Dim result As Integer
result=sndplaysound (C:\My Documents\vbbooks\chimes1)
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|