I have an application that will capture all keypresses on the machine while the program is running. I have a problem with my fiancee using my computer and muting it, then leaving it muted when she finishes. Once or twice was ok, it happens every day though and I've told her to stop and she doesn't, so I'm writing an application.
Basically what I want to happen is when she presses the mute button on the keyboard, it'll pop up a messagebox telling her not to do that, then will automatically unmute the speakers. I can get it to capture the Keys.VolumeMute button and display the messaebox, but I can NOT get it to unmute the speakers. I've tried looking for volume controls, using sendkeys, I just can't figure it out. Can anyone help me?
Basically what I want to happen is when she presses the mute button on the keyboard, it'll pop up a messagebox telling her not to do that, then will automatically unmute the speakers. I can get it to capture the Keys.VolumeMute button and display the messaebox, but I can NOT get it to unmute the speakers. I've tried looking for volume controls, using sendkeys, I just can't figure it out. Can anyone help me?
Comment