The above opens and plays an external wav file. Is there any way to integrate a wav into an app and play it straight from the app, or even any way to integrate the wav into the app and then install it into a directory on the computer? Anything to do with OLEs? I don't know - that's why I'm asking!!!Code:Private Sub Command1_Click() MMControl1.Notify = False MMControl1.Wait = True MMControl1.Shareable = False MMControl1.DeviceType = "WaveAudio" MMControl1.Command = "Open" MMControl1.filename = "c:\windows\media\done.wav" MMControl1.Command = "Play" End Sub
Cheers
Sam





Reply With Quote