Video fullscreen or in form

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Hello
I've only code for VB5 which doesn't seem to work in NET.
Anyone could help me out here? Simply for outputting a video
any format to a form in a Visual Basic.NET program or maybe
fullscreen. Copy and paste code would be most appreciated.
Many thanks Michael
 
If you can insist on the machine having DirectX 9 installed whereever
your app is running, there is a sample in the DirectX 9 SDK you can
cut and paste from.

Install the DirectX SDK from the following URL:
http://www.microsoft.com/downloads/...2f-51e0-402e-b7b5-feb68d00f298&displaylang=en

You can find the sample source code in the following directory:

<DX9DSK Install Directory>\Samples\VB.Net\AudioVideo\Player

You'll also need the code from dxutil.vb in the Samples\VB.Net\Common
directory.

Another option which you may find easier is to host the Windows Media
Player AxtiveX control in a vb.net form. Check out the following
article for more details:

Playing Digital Media in a Visual Basic .NET Application
http://msdn.microsoft.com/library/d...gdigitalmediainavisualbasicnetapplication.asp
 
Back
Top