Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving embedded object data

Status
Not open for further replies.

lorenzodv

Programmer
Feb 16, 2001
95
IT
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top