Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PlaySound() from registry

Posted on 1997-05-22
1
Medium Priority
?
223 Views
Last Modified: 2013-12-03
How do I play a sound located in a key like: HKEY_CURRENT_USER\AppEvents\Schemes\Apps\MyApp\MyEvent?
0
Comment
Question by:arkady
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 40 total points
ID: 1397603
Since the event sound is defined by youself, you need to

1. Use Registry functions to read the value data of the key that contains the sound filename.

2. Use PlaySound() to play the sound file.

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question