playing a wav. file from within a table

  • Thread starter Thread starter martin tudge
  • Start date Start date
M

martin tudge

dear all
I have been working on a trying to play a wave file
which is embedded as a record in my table as a jingle
when my database opens.
I started (with help from this forum) writing a module to
play the sound file, but the file existed outside the
database on my c drive. What I need is to play the file
from within the database.
Any Offers?
 
Sorry to quibble, Arvin, but that code allows you to play a .WAV file, not
to play a BLOB representing the .WAV file from an Access table, which I
believe Martin is looking to do. I'm sure it's possible, but I haven't
managed to yet.
 
Douglas J. Steele said:
Sorry to quibble, Arvin, but that code allows you to play a .WAV
file, not to play a BLOB representing the .WAV file from an Access
table, which I believe Martin is looking to do. I'm sure it's
possible, but I haven't managed to yet.

How about using code like that Larry Linson uses in his Image-Handling
sample database ( http://accdevel.tripod.com/imaging.htm ) to extract
the blob to a temporary file, and then use the API code to play that
file?
 
Back
Top