1 Replies - 901 Views - Last Post: 18 April 2013 - 06:52 AM Rate Topic: -----

#1 Andrew Musona  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 18-April 13

Code on drawing multi-coloured worm on a VB form.

Posted 18 April 2013 - 05:13 AM

I have a program that draws multi coloured worms on a VB form. An individual worm is consisting of a number of segments and each segment has a certain line and colour. The width of the whole worm and colour of each segment is determined via random numbers.

I am experiencing a bug and I can't exactly pin point it. At one point, the program is looping endlessly even though I am using a 'Do---Until' loop.
Is This A Good Question/Topic? 0
  • +

Replies To: Code on drawing multi-coloured worm on a VB form.

#2 maj3091  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 300
  • View blog
  • Posts: 1,776
  • Joined: 26-March 09

Re: Code on drawing multi-coloured worm on a VB form.

Posted 18 April 2013 - 06:52 AM

Post the code that is causing the problem (using code tags as explained in the background) then we can advise.

If it's looping endlessly, then the Until criteria isn't being met.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1