Friday, July 08, 2005

Play An Alert Sound w/.NET CF

Unfortunately it looks like there is no easy way to play an audible beep or alert in .NET CF --Console.Beep() is unsupported:( To be fair, this is not necessarily an issue with the CompactFramework, but infact, affects all of .NET 1.0. From the level of posts on newsgroups/forums, it has been duly noted by Microsoft and supposedly .NET 2.0 has a sound player control. Of course, this doesn't help those of us stuck with .NET CF 1.

Here is what information I gathered in a preliminary investigation:

1. A .NET example from codeproject that plays .Wav files (http://www.thecodeproject.com/cs/media/PlaySounds1.asp)
2. No simple playsound or beep function (http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=26126)

No comments: