AVI animation on VB.NET form howto?

  • Thread starter Thread starter Mikael Jansson
  • Start date Start date
M

Mikael Jansson

Hi,
I tried to find how to show an AVI animation sequence like a "filecopy"
animation but did not find how to do that in VB. Is there a control in
VB.NET or any other way of doing it??

I be very happy for a code example if possible.....feeling a little lost for
the moment ;-)

br

/ Mikael
 
Mikael Jansson said:
I tried to find how to show an AVI animation sequence like a "filecopy"
animation but did not find how to do that in VB. Is there a control in
VB.NET or any other way of doing it??

The Multimedia sample's 'VideoFile' class can be used for playback of video
files within Windows Forms applications.

<URL:http://www.mentalis.org/soft/class.qpx?id=1>
 
Herfried,
Thanx! I have tried it and it works but I can not figure out how to place it
on my form (maybe a stupid question), do you have an VB.NET example or a
hint of how to do it?

br

/ Mikael
 
Mikael Jansson said:
Thanx! I have tried it and it works but I can not figure out how to place
it on my form (maybe a stupid question), do you have an VB.NET example or
a hint of how to do it?

Place a panel control on the form, then use something like this to start the
animation:

\\\
Dim v As New VideoFile("C:\WINDOWS\clock.avi", Me.Panel1)
v.Play()
///
 
Back
Top