+ Reply to Thread
Results 1 to 3 of 3

Get current PC volume level/state

  1. #1
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    1,980

    Get current PC volume level/state

    Hi Everyone,

    I'm using the following API to manipulate the volume to a predetermined level. There's a timer which changes it periodically.
    This work's well, but you can see on the screen when the change occurs because a volume slider pops up.

    Is there any way to check the current volume level/status first so I can choose not to make the adjustment and avoid having this pop up show unnecessarily?


    Please Login or Register  to view this content.

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Get current PC volume level/state

    win DLL api's don't have returns, I don't think. not that I can remember. I may be wrong though. yours doesn't though, apparently. so it doesn't look like you can. but curious, why is this even included?
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    1,980

    Re: Get current PC volume level/state

    Hi,
    Yes the shellexecute isn't relevant to this query; got selected by mistake during copy.

    Thanks for your reply. It's confirmed what I'd suspected. I've managed to locate an old vb6 class module I got from codeplex which I might try and press into service.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 04-09-2021, 01:59 AM
  2. Outline Showlevel - Current max level as variable?
    By Mike1987 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2016, 12:29 PM
  3. Replies: 0
    Last Post: 11-20-2015, 10:58 AM
  4. Button caption changing depending on macro and current state
    By Darkprophecy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2015, 03:02 AM
  5. [SOLVED] Index/Match Multiple Criteria: Item # & Volume Level Pricing Relative to Specific Volume
    By dilbert1865 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-15-2014, 09:28 AM
  6. Creating a Current/Predicted state with 2 fields for countries
    By moty.98 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-18-2013, 10:38 AM
  7. Replies: 3
    Last Post: 07-06-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1