Although Visual Basic 2017 is a programming language designed for creating business and other industrial applications, it can be used to create animation. In the preceding lesson, we have actually learned how to create animation using the timer. In fact, the programs we have created in the previous lesson such as the stopwatch and the digital dice are animated programs. In this lesson, we shall show you more advanced animated programs.
We can create a moving object using the timer. The motion can be from left to right or from top to bottom motion or diagonal.First, insert a picture box into the form. In the picture box properties window, select the image property and click to import an image in your storage devices such as your hard drive. We have inserted an image of a bunch of grapes.Next, insert the Timer control into the form and set its Interval property to 100, which is equivalent to 0.1 seconds. Finally, add two buttons to the form, name one of them as AnimateBtn and the other one as StopBtn, and change to caption to Animate and Stop respectively.
To learn the details in creating animation, we suggest you get hold a copy of Visual Basic 2017 Made Easy.
AUTHOR: DR. LIEW VOON KIONGVisual Basic 2017 Made Easy is written by Dr. Liew, the webmaster of our popular online Visual Basic Tutorial, vbtutor.net. This book is a complete guide to mastering Visual Basic 2017, from beginner to intermediate programmers. This book has been written to complement our free online Visual Basic 2017 tutorial with much more content. It is also an excellent reference text for high school or college-level computer science courses. Reading this book will allow you to:
*Please wait for 10 seconds for PayPal to redirect you to E-book Download Page after ordering and making payment. If you have problem downloading the book, please contact
Mode of Delivery: Download
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.
If you require assistant and technical support, please email