Thanks but no.
Sleep freezes the program, the program should be able to call the Punch sub even if it still in a delay of a kick (There will be two delays in this case.
Do-DoEvents-Loop_Until code is not good only because if you for example starting to Punch while still not finishing kicking then it will go to the other Do-Loop and the kick won't be finished before the punch.




VitalyB - VB6 Pro
Reply With Quote