Andrew DeVaughn


How can I play a sound without the user seeing a media player


Re: Sound

nogChoco


Dim zSystemSound As System.Media.SystemSound = Media.SystemSounds.Exclamation
zSystemSound.Play()

Dim zSoundPlayer As New Media.SoundPlayer("C:\
MySoundFile.wav")
zSoundPlayer.Play()




Re: Sound

Dustin_H

You can also use....

My.Computer.Audio.Play(someFile)







Re: Sound

Tall Dude

Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

AxWindowsMediaPlayer1.Visible = False

End Sub