windows media player (1 Viewer)

thunder

Just Want To Know More
Local time
Today, 04:03
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
 

HiTechCoach

Well-known member
Local time
Today, 06:03
Joined
Mar 6, 2006
Messages
4,357
What part are you needing help with?

Do you have a specific question about how to do something with your database?
 

thunder

Just Want To Know More
Local time
Today, 04:03
Joined
Feb 28, 2009
Messages
26
yes i am trying to make the windows media player plays the file that comes with the query not a file i specify
 

HiTechCoach

Well-known member
Local time
Today, 06:03
Joined
Mar 6, 2006
Messages
4,357
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.
 

thunder

Just Want To Know More
Local time
Today, 04:03
Joined
Feb 28, 2009
Messages
26
i think that the sample that i attach will guide you to my question
 

Attachments

  • db1.zip
    34.1 KB · Views: 352

HiTechCoach

Well-known member
Local time
Today, 06:03
Joined
Mar 6, 2006
Messages
4,357
See if this is what you want. I used the Docmd.OpenForm's OpenArgs parameter to pass the file to play
 

Attachments

  • db1_HiTechCoach.zip
    36.2 KB · Views: 394
Last edited:

Users who are viewing this thread

Top Bottom