Results 1 to 3 of 3

Thread: change sound volume

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2003
    Location
    Sydney
    Posts
    1,123

    change sound volume

    how do i change the sound volume in windows. do i need to use the windows api or is there any other way?

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Attached Files Attached Files


    Has someone helped you? Then you can Rate their helpful post.

  3. #3
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550

    Re: change sound volume

    Hi Manavo,

    I've tried your code, which looks absolutely perfect for what I'm after, and works fine on my laptop. However, on my development machine (which has an M-Audio soundcard) I get an error when I run it. This seems to be because the M-Audio is returning a volume of way above the 100 max you've get set in there.

    I'm wondering - is there anyway I can detect the max volume of the soundcard and apply that to the volume slider in your form?

    Cheers!
    Nick Cook
    VB6 (SP6)

Posting Permissions

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



Click Here to Expand Forum to Full Width