Groups | Blog | Home
all groups > vb.net controls > july 2005 >

vb.net controls : AVI animation on VB.NET form howto?


Mikael Jansson
7/18/2005 10:57:05 PM
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

Herfried K. Wagner [MVP]
7/18/2005 11:28:34 PM
"Mikael Jansson" <mikael.jansson@activemind.se> schrieb:
[quoted text, click to view]

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>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Mikael Jansson
7/20/2005 12:00:00 AM
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

[quoted text, click to view]

Herfried K. Wagner [MVP]
7/20/2005 12:00:00 AM
"Mikael Jansson" <mikael.jansson@activemind.se> schrieb:
[quoted text, click to view]

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

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Mikael Jansson
7/21/2005 8:13:39 AM
great! that saved me some time.

thanks

/ Mikael

[quoted text, click to view]

AddThis Social Bookmark Button