VB2019 VB2017 VB2015 VB2013 VB2012 VB2010 VB2008 VB6 VB Sample Code 中文VB About Us

Lesson 32 : Creating Animation using Timer

All examples of animation that you have learned in previous lessons only involve manual animation. In order to make it move automatically, you must use a timer. The first step in creating automatic animation is to drag the timer from the toolbox into the form and set its interval to a certain value other than 0. A value of 1 is 1 milliseconds which means a value of 1000 represents 1 second. The value of the timer interval will determine the speed on an animation.In the following example, we use a very simple technique to show animation by using the properties Visible=False and Visible=true to show and hide two images alternately. When you click on the program, you should see the following animation.

Figure 32.1

To learn the coding behind this animation, we suggest you obtain a copy of Visual Basic Made Easy.


Price: $20.00


VISUAL BASIC 6 MADE EASY is an eBook written by our webmaster, Dr.Liew.  It was used as a textbook by the University of Wesleyan. You can use this book as a textbook for your VB course or project.

Preview the book

By reading this book, you can:

You can also use the book in many ways, such as:

Order this book and you can Download the FREE Source Codes for the sample VB6 programs illustrated in this book. Click the Order button below to get your e-book and the free stuff.

You need PayPal account to order our E-book. If you don't have PayPal Account, get your PayPal account by clicking the banner below:

Sign up for PayPal and start accepting credit card payments instantly.

*Please wait for 10 seconds for PayPal to redirect you to E-book Download Page after ordering and making payment.

Mode of Delivery: Download

Warmest Regards



This site and the products and services offered on this site are not associated, affiliated, endorsed, or sponsored by Microsoft, nor have they been reviewed tested or certified by Microsoft.

Contact Information

If you require assistant and technical support, please contact:Admin

❮ Previous Lesson Next Lesson ❯

Copyright©2008 Dr.Liew Voon Kiong. All rights reserved |Contact|Privacy Policy