The same way you did in VB6 -> [api]PlaySound[/api].
Convert that declare to VB.Net as demonstrated here and you get:
Code:
Declare Ansi Function PlaySound Lib "winmm" Alias "PlaySoundA" _
(ByVal lpszName As String, ByVal hModule As Integer, ByVal dwFlags As Integer) As Integer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.