|
-
Oct 28th, 2000, 02:00 AM
#1
Thread Starter
Fanatic Member
I'm using the media player control to view movies.
How can I display them?
In a picturebox? An imagebox?
-
Oct 28th, 2000, 08:05 AM
#2
Hyperactive Member
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?
-
Oct 28th, 2000, 10:13 PM
#3
Thread Starter
Fanatic Member
I don't want to see mp.
I just want to see the movie window.
-
Oct 28th, 2000, 11:06 PM
#4
PowerPoster
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.
Code:
With MediaPlayer1
.FileName = "C:\test.mpeg"
.Visible = True
.DisplaySize = mpFullScreen
.SendMouseClickEvents = True
.Play
End With
Have a nice try.
-
Oct 30th, 2000, 01:09 AM
#5
Thread Starter
Fanatic Member
I know how to do that!
But I don't want to see that window!
I just want to show the video window.
-
Oct 30th, 2000, 02:07 AM
#6
PowerPoster
What do you mean Video Window?
-
Oct 30th, 2000, 03:28 AM
#7
Thread Starter
Fanatic Member
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?
-
Oct 30th, 2000, 05:09 AM
#8
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,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|