Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.wav file 1

Status
Not open for further replies.

isma786

Technical User
Apr 7, 2004
31
US
I have a recorded sound file gtes.wav and when i push pbut1 button i want the recorded sound to play

I this possible?
 
Something like this ?
Set Sh = CreateObject ("WSCript.Shell")
Sh.Run "\path\to\gtes.wav"
Set Sh = Nothing

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
PH, the only thing is that how do i close the application that opens to play it once it has done?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top