Solved

MS Access 2013 VB embedded WMPlayer want to code button to play

Posted on 2015-01-23
1
308 Views
Last Modified: 2015-02-01
I have embedded Windows Media Player (WMPLAYER.OCX.7) on a form.
In VB the code would be
WindowsMediaPlayer0.Ctlcontrols.Play  with the player name WindowsMediaPlayer0

I cannot find the "Play" command in Access.  there is no CtlControls.
0
Comment
Question by:VermontDane
1 Comment
 

Accepted Solution

by:
VermontDane earned 0 total points
Comment Utility
so I found the answer.  In VB for Applications in Access, one must create an object of type WindowsMediaPlayer
then you get the hidden list play, pause, etc.  my WMPlayer is "WindowsMediaPlayer0" on my Access Form.  Another MS undocumented method.

Dim WMP As WindowsMediaPlayer
Set WMP = Me.WindowsMediaPlayer0.Object

WMP.Controls.play
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now