locked
Apply click sound to Image Control on Double Click RRS feed

  • Question

  • Is it possible to apply a "Click" sound upon double clicking on an image control?  Do I have to create the sound file and then add it as a resource?  How do I apply this sound to a collection of image controls?

    Thanks

    EM
    Friday, April 3, 2009 3:11 PM

Answers

  • Hi,

    No matter adding the sound file as a resource or not, we can get the sound file with file path. The following are articles about this issue. You can play a sound when you double clicking an image control. Hoping that could help you.

    How to: Play a Sound from a Windows Form

    How to: Load a Sound Asynchronously within a Windows Form

    Working with Resources

    Best regards,
    Ling Wang


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Jing0 Friday, April 10, 2009 6:50 AM
    Thursday, April 9, 2009 9:17 AM