Code to rotate or to animate picture

ankz_u
06-29-2006, 07:26 PM
Hi Mates
I have one picture and I wanna do animation on that picture. I want to rotate that picture for 10 seconds at 360 degree. How can i do that?
If any one knows the code then let me know the whole process to do it and please make explanation easy to understand.

Thanks.
:confused:

MikeJ
06-29-2006, 08:45 PM
'It's a requirement
Imports System.Magic
'
'In your rotate event:
Dim wand As New MagicWand(Image.Rotate, PictureBox1)
wand.Wave()

Or, just do a simple google search and come up with this:
http://www.vbaccelerator.com/home/vb/Code/vbMedia/Using_GDI_Plus/Scale__Rotate__Skew_and_Transform_Images/article.asp


:)
(By the way, it will probably require some advanced calculations - the sine and cosine of angles to rotate, check out that article)

:chuckle:

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum