Feb 21, 2008 #1 dswitzer Technical User Aug 2, 2002 298 US Has anyone looked into playing a sound through a DTS pkg? A simple beep would be a great start... Any ideas? Thanks. Dave
Has anyone looked into playing a sound through a DTS pkg? A simple beep would be a great start... Any ideas? Thanks. Dave
Feb 21, 2008 #2 AlexCuse Programmer Apr 13, 2006 5,416 US You might want to ask this in the VBScript forum. I don't think this is a very good idea though. Why exactly do you want to do this? [small]----signature below----[/small] Majority rule don't work in mental institutions My Crummy Web Page Upvote 0 Downvote
You might want to ask this in the VBScript forum. I don't think this is a very good idea though. Why exactly do you want to do this? [small]----signature below----[/small] Majority rule don't work in mental institutions My Crummy Web Page
Feb 21, 2008 Thread starter #3 dswitzer Technical User Aug 2, 2002 298 US Thanks - they had it there: http://www.tek-tips.com/viewthread.cfm?qid=1071852 strSoundFile = "c:\070-who2.wav" Set objShell = CreateObject("Wscript.Shell") strCommand = "sndrec32 /play /close " & chr(34) & strSoundFile & chr(34) objShell.Run strCommand, 0, True Upvote 0 Downvote
Thanks - they had it there: http://www.tek-tips.com/viewthread.cfm?qid=1071852 strSoundFile = "c:\070-who2.wav" Set objShell = CreateObject("Wscript.Shell") strCommand = "sndrec32 /play /close " & chr(34) & strSoundFile & chr(34) objShell.Run strCommand, 0, True