Jump to content

Media Player


Recommended Posts

in Access (hence VBA) i'm using the WMPlayer.OCX.7, and i need to know what the actions 'play' and 'stop' are... i can't tink of them :(



Share this post

Link to post
Share on other sites



When controlling a song, you use the Controls property


oPlayer.Controls.Play && Play the song



FYI - the PlayState property tells you what's currently happening.


0 - Undefined

1 - Stopped

2 - Paused

3 - Playing

4 - ScanForward

5 - ScanReverse

6 - Buffering

7 - Waiting

8 - MediaEnded

9 - Transitioning

10 - Ready

11 - Reconnecting


Google is your friend :D

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...