473,725 Members | 2,197 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 19126

"dreamer" <no****@nowhere .com.au> wrote in message
news:g8******** *************** *********@4ax.c om...
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*****@Intell igenCIA.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.c om...
On Thu, 20 May 2004 00:04:28 GMT, "Raoul Watson"
<Wa*****@Intell igenCIA.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
18220
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 immediately asked if they could use the arrow keys and enter key to navigate the list. I think there must be a way to do this, but I can't figure it out.
0
1899
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 me move it more? Same with other controls -- they just don't move with arrow keys, but if I use the mouse they will position just fine. Is this a known issue with VS.2003 IDE? (VB.NET) Rob.
3
5258
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 location as the key, and alternate, or connecting locations as the definition to the key. Now I need to 'interrupt' the path and give it a new path based on a keyboard event, like an arrow up, left, down or right. At the next key point if there is a...
2
5846
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 have put this code on the movieclip- onClipEvent (load) { step = 5; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT) && this._x<550) { this._x += step; gotoAndPlay(2); } else if (Key.isDown(Key.LEFT) &&...
2
5035
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 as the results how up i should be able to navigate them using up/down arrow keys. Using the mouse to click on a option is not very convenient since the results show up as you type. How can i achieve this? Any help would be appreciated. TIA
0
1101
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 search the internet but i just can't find anything...
2
4444
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 keys to change the date. How can I prevent them using the arrow keys?
6
19748
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 populated by a Customers table. Some of the companies in our customers list have multiple offices, each of which counts as a separate customer. For Example "RGS Tile, LLC" has offices in Arlington, Lake Ridge, Fredericksburg, etc. So in the combo box they...
8
7767
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 press enter, the selection does not end up being the item in "focus" - but some random (?) other item. if i press the item in the dropdown box with my mouse, however, it works fine. any ideas? thank you very much!
0
8888
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9113
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8097
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3221
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2635
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.