By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,022 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

How do I adjust Audio volume using arrow keys on keyboard

P: n/a
I am making a program for a friend with a disability.
I need to adjust his audio volume using the keyboard as he cannot use
a mouse.

Any suggestions as to how I can raise the volume using the up arrow on
the keyboard and decrease the volume using the down arrow?

I am using VB 5.

Many thanks in advance.
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"dreamer" <no****@nowhere.com.au> wrote in message
news:g8********************************@4ax.com...
I am making a program for a friend with a disability.
I need to adjust his audio volume using the keyboard as he cannot use
a mouse.

Any suggestions as to how I can raise the volume using the up arrow on
the keyboard and decrease the volume using the down arrow?

I am using VB 5.

Many thanks in advance.


I am not sure if you need to do anything special. The volume control app
(Accesories => Volume Control) works exactly the way you want it. When the
focus is on the balance, left right arrows move the balance accordingly.
When the focus is on the volume slider, the up and down arrows works
intuitively as well.

I am not a proponent on taking over the system's setting unless you will
restore it on the way out.

If you insist on doing it programatically, you'll need to use the multimedia
mixer control api (winmm.dll).
Jul 17 '05 #2

P: n/a
On Thu, 20 May 2004 00:04:28 GMT, "Raoul Watson"
<Wa*****@IntelligenCIA.com> wrote:

"dreamer" <no****@nowhere.com.au> wrote in message
news:g8********************************@4ax.com.. .
I am making a program for a friend with a disability.
I need to adjust his audio volume using the keyboard as he cannot use
a mouse.

Any suggestions as to how I can raise the volume using the up arrow on
the keyboard and decrease the volume using the down arrow?

I am using VB 5.

Many thanks in advance.


I am not sure if you need to do anything special. The volume control app
(Accesories => Volume Control) works exactly the way you want it. When the
focus is on the balance, left right arrows move the balance accordingly.
When the focus is on the volume slider, the up and down arrows works
intuitively as well.

I am not a proponent on taking over the system's setting unless you will
restore it on the way out.

If you insist on doing it programatically, you'll need to use the multimedia
mixer control api (winmm.dll).

I need to have my application keeping full control.
It is for a friend with serious disabilities and he cannot use a
mouse, only a keyboard with difficulty. I use the keyboard to speak
for him and need for him to be able to easily adjust the volume up and
down without opening other progs as he gets stuck and can't get back
to his program. Each hand movement is very "clumsy" and difficult.
Thanks
Jul 17 '05 #3

P: n/a

"dreamer" <no****@nowhere.com.au> wrote in message
news:n5********************************@4ax.com...
On Thu, 20 May 2004 00:04:28 GMT, "Raoul Watson"
<Wa*****@IntelligenCIA.com> wrote:

"dreamer" <no****@nowhere.com.au> wrote in message
news:g8********************************@4ax.com.. .
I am making a program for a friend with a disability.
I need to adjust his audio volume using the keyboard as he cannot use
a mouse.

Any suggestions as to how I can raise the volume using the up arrow on
the keyboard and decrease the volume using the down arrow?

I am using VB 5.

Many thanks in advance.


I am not sure if you need to do anything special. The volume control app
(Accesories => Volume Control) works exactly the way you want it. When thefocus is on the balance, left right arrows move the balance accordingly.
When the focus is on the volume slider, the up and down arrows works
intuitively as well.

I am not a proponent on taking over the system's setting unless you will
restore it on the way out.

If you insist on doing it programatically, you'll need to use the multimediamixer control api (winmm.dll).

I need to have my application keeping full control.
It is for a friend with serious disabilities and he cannot use a
mouse, only a keyboard with difficulty. I use the keyboard to speak
for him and need for him to be able to easily adjust the volume up and
down without opening other progs as he gets stuck and can't get back
to his program. Each hand movement is very "clumsy" and difficult.
Thanks


Understood. I used to write educational programs and am very aware of
special needs. You can e-mail me your e-mail address and I will send you the
code (it's too big to post here).
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.