VB How-ToAsk your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I use visual basic in excel environment and i will like to know the codes required to draw a bouncing circle in visual basic
I will be very grateful if anybody can help me demystify this code
"demistify"? :)
One of the standard VB controls is the Shape, that can be use to draw graphics. Set the Shape property to vbShapeCircle
Add a Timer control, and in the Ontimer event change the circle position using the Move method
Marco