Quote Originally Posted by Deny Winarto
Hmmm..but that means i have to change the value manually, right? if i compile my program, wouldn't it be impossible for the user to change the value?
Well, then can't change the value unless you provide them with a machinism to do so.
Quote Originally Posted by Deny Winarto
What if we just call from a function? then the code to call it is placed in each of the commands that's used to trigger the other functions.
So, you are saying take it out of the Validate event and call the check from a specific function? It would seem that the functions you have that use the textboxes (for which this check is not needed) could be simply modified to set blnDoCheck to False when they are run. You can then, in turn, set blnDoCheck to True at the top of the ValidateTextBox routine.

Wouldn't that work?