On Tue, Dec 2, 2008 at 3:58 PM, Petit Eric <[EMAIL PROTECTED]> wrote: > Is System.Media.SystemSounds.Exclamation.Play(); suposed to work under linux ?
Using this code on mono 1.9.1 on opensuse 10.3, each of the sounds plays and prints its name without any problems for me. HTH Dan var sounds = new[]{ new{Name="Asterisk",Sound=System.Media.SystemSounds.Asterisk}, new{Name="Beep",Sound=System.Media.SystemSounds.Beep}, new{Name="Exclamation",Sound=System.Media.SystemSounds.Exclamation}, new{Name="Hand",Sound=System.Media.SystemSounds.Hand}, new{Name="Question",Sound=System.Media.SystemSounds.Question} }; foreach(var entry in sounds){ Console.WriteLine(entry.Name); entry.Sound.Play(); System.Threading.Thread.Sleep(3000); } _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list