?
Solved

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

Posted on 2015-01-23
1
Medium Priority
?
369 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

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.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Six Sigma Control Plans
Suggested Courses

762 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