simlox
asked on
playing wav files direct from code..
Hi experts.. this is what i wanna do..
I got a process that reads a database and does some work.. and I want the code the play a wav file when its finished..
All the code i've found just seems to use media player or the like... I'm after pure code and no controls...
Cheers
I got a process that reads a database and does some work.. and I want the code the play a wav file when its finished..
All the code i've found just seems to use media player or the like... I'm after pure code and no controls...
Cheers
dllimport native command 'play'.
ASKER
could you give me an example of some code to play a wav file.?
look into msdn.microsoft.com for how to use play and then use the attribute dllimport.
Hi simlox,
You can use the following code..
http://www.eggheadcafe.com/articles/20030302.asp
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1041&lngWId=10
Cheers!
You can use the following code..
http://www.eggheadcafe.com/articles/20030302.asp
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1041&lngWId=10
Cheers!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.