Thread: Play Video
View Single Post
 
Old 09-21-2009, 02:38 PM
one2fight4 one2fight4 is offline
Regular
 
Join Date: Jul 2007
Posts: 95
Default Play Video

Hello, for some reason this code does not change the video to fit the form, but instead maeks the form fit the video >
how can I make the video fit the form size?

ive tried IntroVideo.Size = Me.ClientSize but it doesnt do anything...

Code:
        Dim IntroVideo As Microsoft.DirectX.AudioVideoPlayback.Video

        'Load BackGround
        IntroVideo = New Video("C:\Preface.wmv")
        IntroVideo.Owner = Me
        IntroVideo.HideCursor()
        IntroVideo.Play()
__________________
Be nice to nerds. Chances are you'll end up working for one.
Bill Gates

Last edited by one2fight4; 09-21-2009 at 08:09 PM.
Reply With Quote