load asf file in form

I have localy an asf file.
Is there a way to put the movie in a form. At this moment I is behind a button that starts Windows Media Player.

Jeffeny
harryvAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Crash2100Connect With a Mentor Commented:
Go under Project->Components and check the "Windows Media Player" control.  Then create an instance of the control and do something like this (it will play automatically):

Private Sub Command1_Click()
     MediaPlayer1.Open "C:\mymovie.asf"
End Sub
0
 
harryvAuthor Commented:
Thankx it worked, I did only put the "Windows Media Player" control in the form but I forgot the command.

Thankx!

Jeffeny
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.