I added a OLE container control to my form and embedded a WAV file into it. How can read the binary data and send them to the sndPlaySound API function to pley the sound. I tried the following:
sndPlaySound OLE1.SourceDoc, 9
But it doesn't work.
Any suggestion?
Thanks in advance.
sndPlaySound OLE1.SourceDoc, 9
But it doesn't work.
Any suggestion?
Thanks in advance.