Results 1 to 6 of 6
  1. #1
    fishhead is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    167

    playing sound

    Is there a way to play "stock" sounds (when a user saves a record for instance)?


    most software will "DING" when the user hits the save button and i'd like to have this sound triggered on my SAVE button.

    Is there anyway to do this without having to play a .wav file that i would have to provide etc?
    I don't see any action commands in the macro options.

    thanks,
    Steve

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,954
    You could use the built in Beep command.
    Otherwise, you will need to supply wave files but I think your users will very quickly get annoyed by beeps and other sounds and turn the sound down.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    fishhead is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    167
    how do i use the built in Beep command exactly? is there a macro command for this?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    The command is simply: Beep

    Call this from any VBA procedure or macro. It's right near the top of macro actions list.

    I have never used this because as a user I am annoyed by beeps and popups so I don't do this to my users if I can help it.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,954
    To test it, type Beep in the immediate window
    If you decide to go ahead with this, I have an example Countdown Timer database with 20 or so royalty free sounds you can use.
    http://www.mendipdatasystems.co.uk/c...mer/4594365457
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  6. #6
    sheusz is offline Competent Performer
    Windows 8 Access 2003
    Join Date
    May 2015
    Posts
    151
    Quote Originally Posted by isladogs View Post
    ... I think your users will very quickly get annoyed by beeps and other sounds and turn the sound down.
    100% agree. I had the odd beep throughout my app and it really annoyed the users. I now only use them for issuing warnings, not confirmations.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Validation rule playing up
    By Kalmed2018 in forum Access
    Replies: 5
    Last Post: 09-25-2018, 07:36 AM
  2. hyperlink sound
    By civl_eng in forum Forms
    Replies: 1
    Last Post: 09-20-2017, 03:23 AM
  3. sound notifications
    By TheShabz in forum Access
    Replies: 7
    Last Post: 08-31-2010, 08:54 PM
  4. inserting .wav sound?
    By dada in forum Programming
    Replies: 2
    Last Post: 08-20-2010, 11:25 PM
  5. How to stop sound playing
    By trirat in forum Programming
    Replies: 0
    Last Post: 03-12-2006, 06:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums