|
-
Feb 21st, 2000, 06:03 AM
#1
Thread Starter
Registered User
Hello,
I'm having a problem i'm using VB 6 and i want it so when the user clicks on a commandbutton i want it to play a "waveAudio"
this is the Code i have....and it only plays once....and when i click it again...it won't work ....nothing happens....
[]code[/]
Private Sub Command1_Click()
MMControl1.Notify = False
MMControl1.Wait = True
MMControl1.Shareable = False
MMControl1.DeviceType = "WaveAudio"
MMControl1.FileName = "C:\unzipped\dopewars\uhoh.wav"
MMControl1.Command = "Open"
MMControl1.Command = "Play"
thats thats it! help if u can thanks for your time! bye!
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
|