I have a prject in VB...and i need to incorporate a simple timer into it...
Basically when i click a button, something a little black frame should change into a vbblue color....it should STAY blue as so dictated by the timer.interval
Now when the timer is called when it is near the end of the button.click subroutine, everything is fine...but when i put it this little event in a loop (displaying other colors that are in an array per timer interval) then the timer goes freaky. Basically I can't even see the COLOR because it flashed on so fast and the vbblack kicked in...
help!
i have attached my tiny program and the form...if u just run it and click on the next in series button, u can see that the color doesn't even light UP(the NEXT color in the array lights up, but not the first one, which is supposed to repeat the first color that showed up when start button was pushed..)...but if u do step by step, my logic works! (it's just that my timing is off and the light flashed on and off so fast u couldn't see the color...)
HELP!!! someone...i will mail them shiny new pennies in the mail if u help out a college bound novice programmer...
It's due by midnight tonight!!!!
![]()
![]()




Reply With Quote