Solved

moving picture

Posted on 2002-03-09
6
181 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 25 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now