Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

moving picture

Posted on 2002-03-09
6
Medium Priority
?
226 Views
Last Modified: 2010-05-02

i would like to know how am i going to do a simple program such that;

if i click on a button, then

the picture in the form will be moving by turning around 360 degree all the time

any idea? or any 'run' program available?

i'm hoping to use vb, 100% can i?

FaRZ
0
Comment
Question by:FaRZ
6 Comments
 
LVL 18

Accepted Solution

by:
Crash2100 earned 100 total points
ID: 6853191
Picture Rotation
http://blackbeltvb.com/index.htm?free/picrotat.htm

HOWTO: Rotate a Bitmap in Visual Basic for Windows
http://support.microsoft.com/directory/article.asp?ID=Q80406


Demonstrates three graphics manipulation routines. Flip, Rotate, Mirror
http://www.visualbasiccode.com/asp/showsn.asp?theID=357

Flip/rotate a picture
http://www.vbcode.com/code/rotpicture.zip
0
 
LVL 1

Expert Comment

by:Smokintbird
ID: 6857304
I'm not sure about you FaRZ, but the links Crash2100 has provided, worked for me...

I appreciate it.  

0
 

Author Comment

by:FaRZ
ID: 6859800
thanks for both of you..

actually.. what i really mean is.. i want the picture to be moving continuously..

have you watched 'WHEEL OF FORTUNE'? i'm hoping to move the picture as the wheel does.. continuously.. and it will stop if i push another button..

may be i haven't look through the links provided.. if it does.. thanks..

give me sometimes.. i have to study it first..

FaRZ
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:Smokintbird
ID: 6861651
Use the rotate code and put it in a timed loop with a click event to stop the loop.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7618132
Hi FaRZ,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept Crash2100's comment(s) as an answer.

FaRZ, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:kodiakbear
ID: 7665450
Moving to the paq

kb
Experts Exchange Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question