Results 1 to 8 of 8

Thread: Media Player movies

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849
    I'm using the media player control to view movies.
    How can I display them?
    In a picturebox? An imagebox?
    Dekel C.

  2. #2
    Hyperactive Member marnitzg's Avatar
    Join Date
    Oct 2000
    Location
    South Africa
    Posts
    372
    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?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849
    I don't want to see mp.
    I just want to see the movie window.
    Dekel C.

  4. #4
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    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.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849
    I know how to do that!
    But I don't want to see that window!
    I just want to show the video window.
    Dekel C.

  6. #6
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    What do you mean Video Window?

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849
    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?
    Dekel C.

  8. #8
    Guest
    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
  •  



Click Here to Expand Forum to Full Width