I know enough just to be dangerous.
I have never been on this forum before and was impressed with some of the answers I saw posted.


detecting a keypress and keydown and keyup on a form or a control is relatively. What I would like to do is use the keydown and keyup clicks to start and stop a tone played through the computers speakers.

Depending on the key pressed, I want to be able to change the tone's frequency (ie sound). I am not trying to create a "musical keyboard" but I would like the programs user to have a general idea of where in the form he/she is and what they are doing.

In addition, is there a way to control the "length" of the tone? for example, one keypress could trigger a short tone while another could trigger a longer.

Thanking you in advance