Solved

PlaySound() from registry

Posted on 1997-05-22
1
217 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 20 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…

830 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