Code to rotate or to animate picture

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.


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)

Or, just do a simple google search and come up with this:

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


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum