Link to home
Start Free TrialLog in
Avatar of walker6o9
walker6o9

asked on

Rotating Images

Is there a way to rotated images in visual basic during runtime (other than using an animated gifs)?
Avatar of zzzzzooc
zzzzzooc

Rotating as in actually changing the angle of an image? If so, there are plenty of examples around. Here's an anti-aliasing one which should provide better quality.

http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=60476
ASKER CERTIFIED SOLUTION
Avatar of imarshad
imarshad
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of walker6o9

ASKER

I tried the VB code but all the 45 degree rotation did was draw a line through the image.
The example works fine.... Just load a picture in Picture1 through the Picture1.picture function.....It will be rotated and displayed in picture2 as 45 degree rotated....

Imran
you can use a flash object in vb and .. the sky is the limit. ... well, flash is the limit.
hehehehe

also you can also use dwrotpic from desaware.
its cheap, its fast, works fine.

or several pics from the object and shuffle them

hope this helps
Thank you, this one answer/example saved me so much time!