Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: switch off the beep!


Message #1 by wesley.fitzpatrick@s... on Wed, 24 Apr 2002 08:20:07 +0200
Hi,

Can someone tell me the code line to turn beeps off? is it something like:

DoCmd.Beep (False) or Beep.Enabled = False

Both of these don't work.

Thanks,

Wes.

----- 
Wesley Fitzpatrick 
Syngenta Agro AG 
Chemiestrasse 1 
Dielsdorf 
CH-8157 
Switzerland 
Tel: +41 (0)1 8558 411 
Fax: +41 (0)1 8558 708 
Message #2 by "Gregory Serrano" <SerranoG@m...> on Wed, 24 Apr 2002 13:19:41
Wes,

<< Can someone tell me the code line to turn beeps off? is it something 
like:

DoCmd.Beep (False) or Beep.Enabled = False

Both of these don't work. >>

Neither the Beep action or the DoCmd.Beep method turn off the beeping 
sound.  Both those statements are meant to make the computer beep.  If you 
DON'T want the computer to beep, simply don't include any beep statements 
in your code. 

If your computer is beeping anyway, then it's one of two things:

1) Use your menus and go to TOOLS then OPTIONS and click the "General" 
tab.  Turn off the "Provide Feedback with Sound" checkbox.

2) If you have a MSGBOX command and you have something like this

   MsgBox "The data you entered is not valid.", vbExclamation, "Error!"

Then the "vbExclamation" will cause the message box to show the 
exclamation point in a triangle and it will also cause your computer to 
make the sound associated with a Microsoft Windows event.  Those sounds 
are set via your Control Panel / Sounds folder.

Greg
Message #3 by wesley.fitzpatrick@s... on Wed, 24 Apr 2002 14:13:56 +0200
Thanks Greg!

 ~ -----Original Message-----
 ~ From: Gregory Serrano [mailto:SerranoG@m...]
 ~ Sent: Mittwoch, 24. April 2002 15:20
 ~ To: Access
 ~ Subject: [access] Re: switch off the beep!
 ~ 
 ~ 
 ~ Wes,
 ~ 
 ~ << Can someone tell me the code line to turn beeps off? is 
 ~ it something 
 ~ like:
 ~ 
 ~ DoCmd.Beep (False) or Beep.Enabled = False
 ~ 
 ~ Both of these don't work. >>
 ~ 
 ~ Neither the Beep action or the DoCmd.Beep method turn off 
 ~ the beeping 
 ~ sound.  Both those statements are meant to make the computer 
 ~ beep.  If you 
 ~ DON'T want the computer to beep, simply don't include any 
 ~ beep statements 
 ~ in your code. 
 ~ 
 ~ If your computer is beeping anyway, then it's one of two things:
 ~ 
 ~ 1) Use your menus and go to TOOLS then OPTIONS and click the 
 ~ "General" 
 ~ tab.  Turn off the "Provide Feedback with Sound" checkbox.
 ~ 
 ~ 2) If you have a MSGBOX command and you have something like this
 ~ 
 ~    MsgBox "The data you entered is not valid.", 
 ~ vbExclamation, "Error!"
 ~ 
 ~ Then the "vbExclamation" will cause the message box to show the 
 ~ exclamation point in a triangle and it will also cause your 
 ~ computer to 
 ~ make the sound associated with a Microsoft Windows event.  
 ~ Those sounds 
 ~ are set via your Control Panel / Sounds folder.
 ~ 
 ~ Greg
 ~ 

  Return to Index