Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   Managed DirectX (http://www.xtremevbtalk.com/managed-directx/)
-   -   Play Video (http://www.xtremevbtalk.com/managed-directx/310649-play-video.html)

one2fight4 09-21-2009 01:38 PM

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()



All times are GMT -6. The time now is 11:50 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.