sound clips in Access form

A

AKC

Hello everybody,
I found quiet a few threads regarding inserting sound clip into Access forms
(thank you allenbrowne), but my dilemma is I can't figure out how to "point"
to a sound file stored on network drive as oppose to stored on local machine.
It worked fine if the sound file was on the same drive as my working version
of the db, but I am not sure how code a path to a file stored on the
different drive (I am working on F: drive, but the file is on G: drive).
Thank you in advance.
 
A

AKC

One clarification: I tried replacing the given "c:\..." path with network
path, and it doesn't work. There must some additional command or something to
switch to another drive.
 
P

PieterLinden via AccessMonster.com

AKC said:
One clarification: I tried replacing the given "c:\..." path with network
path, and it doesn't work. There must some additional command or something to
switch to another drive.
Hello everybody,
I found quiet a few threads regarding inserting sound clip into Access forms
[quoted text clipped - 4 lines]
different drive (I am working on F: drive, but the file is on G: drive).
Thank you in advance.

what are you using to play the sound? The Play Sound API from Access Web?
 
A

AKC via AccessMonster.com

If you're talking about the PlaySound function, then yes. This is the first
time I am dealing with sounds in Access, so it's all very new to me. I saved
a sound clip in .mid and .wav formats, and they do work on their own, but is
there a specific format that it needs to be saved in in order to be used in
Access? Thanks.


One clarification: I tried replacing the given "c:\..." path with network
path, and it doesn't work. There must some additional command or something to
[quoted text clipped - 5 lines]
what are you using to play the sound? The Play Sound API from Access Web?
 
A

AKC via AccessMonster.com

I used Allen Brown's code.
If you're talking about the PlaySound function, then yes. This is the first
time I am dealing with sounds in Access, so it's all very new to me. I saved
a sound clip in .mid and .wav formats, and they do work on their own, but is
there a specific format that it needs to be saved in in order to be used in
Access? Thanks.
[quoted text clipped - 3 lines]
what are you using to play the sound? The Play Sound API from Access Web?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top