I'm using the media player control to view movies.
How can I display them?
In a picturebox? An imagebox?
Printable View
I'm using the media player control to view movies.
How can I display them?
In a picturebox? An imagebox?
Why don't you just use the media player main control window. Am I not understanding you correctly? Are you just wanting to display the movie or are you wanting to display it in a picture box?
I don't want to see mp.
I just want to see the movie window.
Hi dekelc, before you can play any movie in your VB application, you need to include the [/l]Window media Player[/i] control, then juz applied the following code to play any MP3, MPEG and etc.
Have a nice try. :)Code:With MediaPlayer1
.FileName = "C:\test.mpeg"
.Visible = True
.DisplaySize = mpFullScreen
.SendMouseClickEvents = True
.Play
End With
I know how to do that!
But I don't want to see that window!
I just want to show the video window.
What do you mean Video Window?
I mean the box that shows the movie that is showen.
I want to include a box on my app that will show a movie.
how do I do that?
If you're trying to open it in a new window, make a new form and include mediaplayer there.
If you just want to get rid of buttons, disable EnabledXXX things using the properties window. You can't set your movies in the picturebox (and I think it's VERY slow if it's possible).
Just look all the properties and check they're in the way you want to have them. If you don't understand what some settings does, just try changing it's values.
Hope this helps,