Viewing AVI, MPG Jpg, etc in a VB.NET (2.0) application

  • Thread starter Thread starter RB0135
  • Start date Start date
R

RB0135

Hi all..

Just want to know the best way to view AVI's, JPG's, MPG's and similar
files in one control in a VB.NET application? The application will be
an advertising display tool.

Is there a simple control that can accomplish this (Free or
commercial), or are there controls/possibiliites already built into
the Framework (V2)?

Thanks for any responses...

Robert
 
The easiest way to accomplish this is the Windows Media Player. You can
download the WMP SDK from Microsoft.
 
Using the directx api is as simple as creating a Video object using a
constructor using the filename. Then you can use the Play() method of the
object to play the video. There are other methods for stopping and setting
the position of the video (if it supports it).

All in all it is very simple and all system should have directx support of
some kind. I recently updated to Vista (painful) but my app went from using
directx 9 on XP to 10 on Vista without a hicup.

Go to microsoft home page and select For Developers. The link for the
latest SDK is under Popular Downloads.

Lloyd Sheen
 
Using the directx api is as simple as creating a Video object using a
constructor using the filename. Then you can use the Play() method of the
object to play the video. There are other methods for stopping and setting
the position of the video (if it supports it).

All in all it is very simple and all system should have directx support of
some kind. I recently updated to Vista (painful) but my app went from using
directx 9 on XP to 10 on Vista without a hicup.

Go to microsoft home page and select For Developers. The link for the
latest SDK is under Popular Downloads.

Lloyd Sheen






- Show quoted text -

Thanks...

I didn't even think about WMP or DirectX..

I will investigate.

Robert
 
Back
Top