In the Win32 API there is a Beep function that lets you specify the frequency and duration of the sound. Hope that's what you're looking for. Here's the function declaration:
Public Declare Function Beep Lib "kernel32" Alias "Beep" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
use the 'shell' command to call the file that you want, say
Shell C:\Music\NextEpisode.mp3 The file will be played using the default player for that type of file
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.