Results 1 to 2 of 2
  1. #1
    ino_mart is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    16

    Play sound until button is released


    All

    I have a Access 2007-form with a button. As long the button is pressed, a WAV-file should be played (and looped). As soon the button is released, the sound must stop.

    (note: The form will be used on a touch screen where the button is pressed with a human finger. I just give this for information as a "mouse click" on a button is the same as "a finger click" on a button)

    Can someone help me?

    Regards
    Ino

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    This suggests how to play a WAV file with VBA but I couldn't get it to work http://www.exceltip.com/st/Playing_W...Excel/460.html

    I don't think Access offers a control that will do what you want. Maybe an ActiveX control exists for this but I haven't used any so can't say for sure.
    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.

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

Similar Threads

  1. Play Hangman in MSAccess
    By pkstormy in forum Code Repository
    Replies: 8
    Last Post: 12-26-2019, 04:23 PM
  2. sound notifications
    By TheShabz in forum Access
    Replies: 7
    Last Post: 08-31-2010, 08:54 PM
  3. Word Play example
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 08-30-2010, 11:11 PM
  4. inserting .wav sound?
    By dada in forum Programming
    Replies: 2
    Last Post: 08-20-2010, 11:25 PM
  5. how to play mp3 direct from database
    By sean in forum Access
    Replies: 0
    Last Post: 10-20-2009, 08:27 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