473,386 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How do I adjust Audio volume using arrow keys on keyboard

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
3 19081

"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
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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: skipc | last post by:
Hi, I am stuck... I've got a popup window that displays a list in table format with links on the bottom to navigate the list <prev> 1 2 3 ... <next> When I demo'd to the users... they...
0
by: Rob R. Ainscough | last post by:
Has anyone else had this problem? I'm in GridLayout, if I add a new Label control and try to move/position it to the bottom page using the arrow keys it just stops at the bottom and doesn't let...
3
TMS
by: TMS | last post by:
Hey all: I'm working on this 'pac man' like game I've been writing in Tkinter. The temporary gif I'm using (I can't attach it, sorry) goes around the maze based on a dictionary that has each path...
2
by: chinmayagoyal | last post by:
Hello, I have been working on a dragonball z game recently and I have encountered a problem with the sprites.I have traced the bitmap and everything else and even created a movieclip of the sprite.I...
2
by: divingIn | last post by:
Hi, I have created a textbox like google suggest(or like yahoomail) that shows results using ajax as you type in. Now i am showing the results in a dynamic table under the textbox inside a div. But...
0
by: cozminutzul | last post by:
first..hy to all..i'm new...I would like to navigate through the TreeView with my keyboard arrows(i work in asp.net 2.0).....just like in asp.net 1.0(2003)..Could anyone give me an example..i've...
2
by: Artie | last post by:
Hi, I want to force the user to only use the drop down and calendar to select a date in the DatetimePicker control. I do NOT want them to select the control, then use the up and down arrow...
6
tdw
by: tdw | last post by:
Hi, Is there a way to program the down arrow key on the keyboard to move to the next item in a combo box list? The reason I want to do this is that my "Ordered By" combo box on my form is...
8
Knut Ole
by: Knut Ole | last post by:
hi, i have a combobox linked with a table, and have made it dropdown on keydown event. as i write, the matching alternatives will show up in the combobox, but when i move down with the arrows and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.