Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
| Search | Today's Posts | Mark Forums Read
VB How-To Ask 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
  #1 (permalink)  
Old November 11th, 2005, 09:22 AM
Registered User
 
Join Date: Nov 2005
Location: Edinburgh, MID-Lothian, United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to write code to draw bouncing circles

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

  #2 (permalink)  
Old November 11th, 2005, 02:17 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

"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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i write code to go back or undo sanderson Beginning VB 6 1 July 9th, 2008 05:10 PM
Need help, what code should I write here? vincentleo ASP.NET 2.0 Basics 2 March 10th, 2008 10:09 AM
re write a code kgoldvas XSLT 3 August 1st, 2007 07:40 AM
how write vb code in c# ravpaw General .NET 2 July 1st, 2007 02:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.