473,386 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

starting media player from an AccessXP form

Hello,
I need to open a media player window so that i have the controls, from a form ideally, the user would push a button and the player would open tot eh correct file.

one other thing i need is top be able to pass the location of the file to the media player. if i use a macro and hard code my file location the command line looks like this:
"c:\program files\windows media player\wmplayer.exe" "http:\\www2.mountinsight.com\verb\v06a\a06\a06138 42.wav" (all on one line of course)

Each record' s path varies after the "...\verb\"

how can this be done?
Feb 22 '07 #1
1 1763
MMcCarthy
14,534 Expert Mod 8TB
Hello,
I need to open a media player window so that i have the controls, from a form ideally, the user would push a button and the player would open tot eh correct file.

one other thing i need is top be able to pass the location of the file to the media player. if i use a macro and hard code my file location the command line looks like this:
"c:\program files\windows media player\wmplayer.exe" "http:\\www2.mountinsight.com\verb\v06a\a06\a06138 42.wav" (all on one line of course)

Each record' s path varies after the "...\verb\"

how can this be done?
You will have to see if there is an AciveX control available for Windows media player. Check the ActiveX list and see if there is anything there.

Mary
Feb 22 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Glenn | last post by:
I have used this code successfully in a form application. I tried to add the same code in a service and have not been able to get the application to start. I have the service starting with a local...
1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
3
by: Darren | last post by:
OK, this should be really simple, but I still can't see where I can set an option to prevent Windows Media Player 9 from resizing the window when it loads at startup or when a file is played. I...
3
by: garyusenet | last post by:
I've noticed that the media player window takes up the same percentage of the screen regardless of the screen resolution, it's dimensions aren't fixed in pixels but it takes up a set proportion of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.