Solved

PlaySound() from registry

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Visual Studio Exe Issue, 12 25
Duplicates in Aggregate Query 3 29
Windows Installer 4 60
Is IHttpActionResult a promise pattern? 2 37
This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now