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

x
  • 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.
0
G Scott
Asked:
G Scott
1 Solution
 
karl-henrikCommented:

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

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