Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Windows Media Player control in a form

Status
Not open for further replies.

darkmage1

Technical User
Jan 30, 2005
28
US
Lets say I have a reord named "Trailer trash" and another record named "Downtown Train". Both of these records have movie trailer clips assigned to them in another table named "tbltrailers". What I want to do is if I advance to the "Downtown Train" record on my main form I would like the subform to display the records of trailer clips assigned to the record "Downtown Train" and allow me to play which ever video clip I have selected for "Downtown Train" in a Windows Media Player window control inbedded on the main form after clicking on a command button.
 
there is no need to embed the mediaplayer in the form

if you just use the followhyperlink method and you store the path to the file

Application.FollowHyperlink "C:\mpgfiles\my.mpg"

if you store the path to the file it will open media player

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top