BubbaBeans
Member
I know how to access and play the system sounds using vb.net, and I also know that using the registry to save users' settings isn't ideal, however...
The details of my project are rather long and drawn out, so I'll skip most of them. Basically my program is loaded onto several computers on our network. The entire purpose of this program is to sound various alarms on different dates and times.
Apparently I am to set up the program so that the different alarm sounds can be configured through Windows' control panel. Ok, that's all fine and good. I can add the program into the appropriate part of the Registry in order to make that happen.
The problem is reading the the information back. Under the name of the app, I have four different subkeys, each with the name of one of the alarms. Under those keys are two other subkeys, .default and .current.
How in the world do I get the sound from .current to play?!?! For some weird reason I get nul returned any time I try to read the key that I created.
The details of my project are rather long and drawn out, so I'll skip most of them. Basically my program is loaded onto several computers on our network. The entire purpose of this program is to sound various alarms on different dates and times.
Apparently I am to set up the program so that the different alarm sounds can be configured through Windows' control panel. Ok, that's all fine and good. I can add the program into the appropriate part of the Registry in order to make that happen.
The problem is reading the the information back. Under the name of the app, I have four different subkeys, each with the name of one of the alarms. Under those keys are two other subkeys, .default and .current.
How in the world do I get the sound from .current to play?!?! For some weird reason I get nul returned any time I try to read the key that I created.