windows media player

thunder

Just Want To Know More
Local time
Yesterday, 22:45
Joined
Feb 28, 2009
Messages
26
i want to add a windows media active x controle in a form to play a video which is a result of a query
table "machines" contain the video of the machine
form to view the information of the query and the active x plays the result
so please help
 
What part are you needing help with?

Do you have a specific question about how to do something with your database?
 
yes i am trying to make the windows media player plays the file that comes with the query not a file i specify
 
yes i am trying to make the windows media player plays the file that comes with the query not a file i specify

Without knowing a lot more detail, like exact how you are using the query, I am not sure how to help you.

You will need to someway get the file path from the query (recodeset, bound form, etc) and using VBA code to set the property in the control for the path.
 
i think that the sample that i attach will guide you to my question
 

Attachments

See if this is what you want. I used the Docmd.OpenForm's OpenArgs parameter to pass the file to play
 

Attachments

Last edited:

Users who are viewing this thread

Back
Top Bottom