i am using vb6
i want that in my whole programe user can
only put data in numbers(0-9) alphabetes(a*-z)
and .(dot/point) only.
now how can i disable all the other keys
i know the code how to permit the keys in
the key press evet of any textbox
whic i uses this code
QUOTE
Dim comp As Boolean
comp = Chr(KeyAscii) Like "[1-9.0]"
If Chr(KeyAscii) = vbBack Then Exit Sub
If comp = False Then
KeyAscii = 0
End If
now insted of writing it to all the text boxes
(which are huge in no) i want to disable the
other keys in start module
how to do this