Thread: Play Video
View Single Post
Old 09-21-2009, 01:38 PM
one2fight4 one2fight4 is offline
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...

        Dim IntroVideo As Microsoft.DirectX.AudioVideoPlayback.Video

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

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