Ms Access Controlling Windows Media Player

DALIEN51

Registered User.
Local time
Today, 06:49
Joined
Feb 26, 2004
Messages
77
I want to have a MS Access 2000 database open, load a Form with various option buttons on and get Windows Media Player to play a MP3 music file. However, when I click a option button on the Form I want the music to stop.

Any ideas of code to do this?

Regards,

Dalien51
 
You can put a Windows Media Player object in your form (called Windows Media Player in "More Controls" on the form toolbox), set it's Visible property to No, and then create your own buttons to do start, stop, skip, etc. by accessing the events and method of the Media Player object through your custom buttons' OnClick events.
 

Users who are viewing this thread

Back
Top Bottom