my.computer.audio.play from service in Vista

darren

New member
Joined
Jun 7, 2007
Messages
3
Programming Experience
10+
I have a service, VB.Net, plays a WAV file using my.computer.audio.play.

Interactive (non-service), works in XP and Vista

As Service, works fine in XP as Local System account, no "Interact with desktop". In Vista, the service plays the file without error but no sound is heard. If I check interact with desktop, I get a warning from Vista about interactive services (Vista does not allow them). If I switch to the interactive session (through the Vista warning dialog about interactive service), I can hear the sound.

So, it appears that Vista has blocked sound played by a service from being heard by the interactive user. Anyone know of a workaround to this?
Thanks in advance
 
Back
Top