I am developing windows service in VB.net in VS2010
In some case I want to play system default sound for user notification.
I had tried following code to play sound but it's not playing any sound.
My.Computer.Audio.Play(Path.Combine(My.Application.Info.DirectoryPath, "Blip.wav"), AudioPlayMode.Background)
Even I checked the check box of "Allow to interact with desktop" in service properties after installing service using "InstallUtil"
I checked the speaker connected with my pc.
I have tested it in win xp and win 7
Please help me to resolved this issue and let me know where I am going wrong.