Play sound files
i'm trying to play 1 or multiple sound files in vbscript... Search the net but found nothing that workds.
Can anybody help me?
to the best of my knowledge- there is no way to "play" a sound in vb. You could find files or specify files to be played and then use VB to call the appropriate program...
for example, you could select the files and then command windows explorer to open them- windows explorer will open them w/ whatever program is allocated (ex if you have media player set as default mp3 files, win explore will open them with media player)...
or you could change the system sound for alert and then issue several system alerts...
again, I do not know of (nor can I think of a way) that VB could read and produce sound though
I don't know how well this will post, but here is a script that I have that can be used to play a beep.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "cmd /c @echo "
|All times are GMT +1. The time now is 11:16 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.