Sound Files Help

Losartan

Registered User.
Local time
Yesterday, 18:59
Joined
Jul 21, 2005
Messages
39
Hello,

I have a database with an action on a click event. The action is plays a wav or mp3 file. I would like for it to play for a specific length of time or allow the user to stop the sound when another action is completed.

Code:
 Set wmdp = CreateObject("WMPlayer.ocx.7")
wmdp.url = "I:\mgr\Status Board DB\WooHoo!.wav"

How do I code the sound to stop after 10 seconds?
How do I code the sound to stop after a different click event?

Thanks,
Jason
 

Users who are viewing this thread

Back
Top Bottom