Sunday, August 2, 2009

Simulating a combination lock in Visual Basic. How do I make the angle change the stage of the lock?

What it's like is there is one point that changes instantly changes the angle in relation to lock values from 0 to 59 or from 59 to 0, depending on the direction. this is what is causing my problem. I have a label that indicates the stage of the lock that of course will be removed later.

Simulating a combination lock in Visual Basic. How do I make the angle change the stage of the lock?
set up a select





select angle


case 1-90: lockvalue = 1


case 91-180: lockvalue = 2


case 181: .....etc...


end select


No comments:

Post a Comment