Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1864
  • Last Modified:

Control Sound Volume Using VBA

Just wondering if this is even possible. Here's the deal, I have a DB in our front lobby that plays a safety video for visitors. We set the speaker system at the appropriate volume for that. I wanted to add some background music to play when the video is not playing. So basically I need two different volume levels.

Basically the music is at a level 3 and when the video starts the music stops and the volume goes to say, 7. When the video finishes I can send it back down to 3. If that makes sense.

I may be asking just a bit too much of Access, but I figured why not ask anyway. Thanks for any help you can give me.
G Scott
G Scott
1 Solution

This should work it's a setVolume function for VBA, depends on your version of Windows and so on.. Code.txt
G ScottAuthor Commented:
That worked perfectly! Thank you so much.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now