I'm trying to create a small app that lets me create different
sound-profiles on my PPC and switch between them by tapping a button. (One
button for Outdoors, another for In Office and a third for Meetings at
least)

I've found out that changing the volume in the built-in volume control
changes a few registry settings, but if I change theese settings from my
program the volume-level of the device don't change. So I figure that there
must be an API to change the system volume, but I've not found anything that
works from VB.Net

Does anybody know the API for changing the volume on a PPC 2002 device (and
how to access it from VB.NET)?

Cato Lommerud

As a curiousity I can mentione that changing the registry settings for the
second volume-slider in WM 2003 actually affects the ringer volume of the
device (but updating the registry for the first slider still does not work)

Re: Changing speaker volume from CF by Chris

Chris
Tue Apr 20 09:09:09 CDT 2004

You probably need to broadcast a WM_SETTINGCHANGE message after making the
change so the system knows they're different.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Cato Lommerud" <cato.lommerud@software-innovation.no> wrote in message
news:ulv%23J0tJEHA.628@TK2MSFTNGP11.phx.gbl...
> I'm trying to create a small app that lets me create different
> sound-profiles on my PPC and switch between them by tapping a button. (One
> button for Outdoors, another for In Office and a third for Meetings at
> least)
>
> I've found out that changing the volume in the built-in volume control
> changes a few registry settings, but if I change theese settings from my
> program the volume-level of the device don't change. So I figure that
there
> must be an API to change the system volume, but I've not found anything
that
> works from VB.Net
>
> Does anybody know the API for changing the volume on a PPC 2002 device
(and
> how to access it from VB.NET)?
>
> Cato Lommerud
>
> As a curiousity I can mentione that changing the registry settings for the
> second volume-slider in WM 2003 actually affects the ringer volume of the
> device (but updating the registry for the first slider still does not
work)
>
>