BubbaBeans 0 Report post Posted September 23, 2009 I wrote an alarm program that handles multiple alarms. Each time an alarm is triggered, it plays a different sound.I'm wanting to expand on this, however. I'd like to register my program with Windows so it shows up in the Sounds and Audio Device Properties window so the user can change the alarm sounds to whatever they'd like.Then, obviously, I want the program to play those sounds when appropriate. I know how to play sounds with vb.net, that isn't the issue. My question is whether there is a way for my program to raise an event that will automatically play the appropriate sound. Or would it be easier to simply read the information stored in the registry, and have my program play that sound?I've tried reading from the registry and I'm apparently not reading it correctly. I created subkeys in the registry on my computer already to test this out.HKEY_CURRENT_USER\AppEvents\Apps\DANotifierIt has 4 subkeys named 1 Hour, 12 Hours, 24 Hours, and After Hours.Each of those have 2 subkeys named .current and .defaultHow can I read ".current" ?Or, again, is there a way to have my program raise an event so Windows automatically plays the correct sound? Share this post Link to post Share on other sites