Answer» Hello everybody
I am a starter in VB and I have a question
you know that we us vbKeyF ( for example ) to do something when user press F,
well, what if I want to do something when user TYPE the word hello ( for example )
please with example
thank youkeep track of how many keys are PRESSED, and when the user pressed h,e,l, or o, make sure the COUNT is proper (ie, h can only be pressed when the count is 0, e can be pressed only when it's 1, ETC. And the Else clause can be used to revert the count to zero.
|