Click here to Skip to main content
12,828,476 members (46,857 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET
Hello everyone,
I wanted to ask a question, I have an application and I wanted to lower the volume of only the application not master volume of windows.Is there anyway do to it.
Btw Im playing a wav file in the background.

Posted 18-Jun-12 7:41am
SAKryukov 18-Jun-12 13:03pm
I appreciate this question, my 5.

I hope I re-addressed this question to a right person:

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It seems as though the new sound APIs in Vista (and beyond) were rewritten but still have the same interfaces. That means that old code will still work with the new APIs. However, the one change that was introduced was to make the volume changes per-application instead of system-wide (via the master volume). Here is an article that talks more about that:[^]

It would seem as though you could use this to your advantage by writing your code to work to the old interface, thus making it application-specific. You would need to use it on a Vista or later machine but since it would still work on XP (just not be application-specific) it wouldn't be that big an issue (in my opinion). I don't know of anything that allows application-specific sound settings in XP.
fsman102 2-Jul-12 11:22am
I agree. I don't know of a way to do this in XP. Only in Vista/7/8.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Tim Hi, the article link that you had pasted seems to be dead. Can you please post a new link?[^]

Rate this: bad
Please Sign up or sign in to vote.

Solution 3


Just found a link that talks about something similar;

Vista Core Audio API Master Volume Control[^]

Best regards,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170326.1 | Last Updated 19 Jul 2014
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100