Play a Sound File : Sound « Development « VB.Net





Play a Sound File

Imports System
Imports System.IO

Public Class MainClass

   Shared Sub Main()
        My.Computer.Audio.Play("Test.wav", AudioPlayMode.WaitToComplete)

   End Sub 

End Class

           
       










Related examples in the same category