>Ok, but, suppose I type any letter on keyboard
>
>How can I display this letter in a messagebox ?
In KeyPress event you can use
chr(nKeyCode) to get the letter back - of course, if this is a letter and not a function key or Delete, backspace, etc.
If it's not broken, fix it until it is.
My Blog