Solved

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

Posted on 2015-01-23
1
349 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
VermontDane earned 0 total points
ID: 40571972
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Six Sigma Control Plans

688 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