Feb 21, 2008 #1 dswitzer Technical User Joined Aug 2, 2002 Messages 298 Location 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 Joined Apr 13, 2006 Messages 5,416 Location 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 Joined Aug 2, 2002 Messages 298 Location 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