I wrote the code a while ago and everything works fine on all of the machines I've installed it on. I am now trying to put it on the daycare's old pentium 3 with win98. I wrote it in VB.Net 2005 and installed .net framework 2.0. When the sounds are supposed to play, I get nothing. No sound, No error, no nothing.. Here is the code. Any ideas?
Does System.Media.SoundPlayer come from the framework (I think it does ) or from the OS?
Sub PlaySound(ByVal Filex As String)
Dim Sound As New System.Media.SoundPlayer()
Sound.SoundLocation = Filex
here is an example of how I am calling this
FormMain.PlaySound(System.AppDomain.CurrentDomain.BaseDirectory.ToString & "Counting\Question1.wav")