Question : VB.Net Playing a Beep

Good Day

Experts:

I have been asked to at minimum play a beep when a certain condition exists.  So, I put Beep() after the condition in my code.  Then I turned up my volume control(normally leave it muted).

I am now getting a Beep on every Tab or Enter out of any field on my screen.  How can I get rid of that Beep and only have it play when my condition is satisfied in the code?

Thanks,
jimbo99999

Answer : VB.Net Playing a Beep

If you use the key to do some processing, and don't want the control to process the key, then you can
use the following to prevent the control from handling the key:

   e.SuppressKeyPress = True

Random Solutions  
 
programming4us programming4us