Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Vb.net Application Sounds


1 reply to this topic

#1 BubbaBeans

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Redding, CA, USA

Posted 14 September 2009 - 08:17 PM

I wrote an application that uses different sounds for various alarms.  I've managed to create the appropriate keys in the registry so that my program shows up in sound settings, allowing the user to change the sounds from Windows' control panel.

Now for my BIGGEST problem...  I don't know how to get those sounds to play!  I'm trying to read the values out of the registry keys, but I keep coming up with nothing, rather than the value stored in the key.  HELP?!?!?!

(Sound names are stored in HKEY_CURRENT_USER\AppEvents\Schemes\Apps\DANotifier\ while the keys for the various alarms are 1 Hour, 12 Hours, 24 Hours, and After Hours.  Each key has a .default and .current underneath.  I'm trying to read .current)

#2 BubbaBeans

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Redding, CA, USA

Posted 23 September 2009 - 05:35 PM

View PostBubbaBeans, on Sep 14 2009, 01:17 PM, said:

I wrote an application that uses different sounds for various alarms. I've managed to create the appropriate keys in the registry so that my program shows up in sound settings, allowing the user to change the sounds from Windows' control panel.

Now for my BIGGEST problem... I don't know how to get those sounds to play! I'm trying to read the values out of the registry keys, but I keep coming up with nothing, rather than the value stored in the key. HELP?!?!?!

(Sound names are stored in HKEY_CURRENT_USER\AppEvents\Schemes\Apps\DANotifier\ while the keys for the various alarms are 1 Hour, 12 Hours, 24 Hours, and After Hours. Each key has a .default and .current underneath. I'm trying to read .current)


I just realize that I posted this in the wrong group!!! This should be in the .net programming area!!! Sorry!!!!




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users