hi im again,,,,,,
thanx for daniweb i get the solution to my 1st problum.
now the second problum;
i have a textbox on my windows form and i need to validate it.
rule is user must not able to press any A-Z && a-z && !-* keys on the key bord.
if he is tring to pres any that kind of key the system must genarate a mesage box.
MessageBox.Show("bla bla bla"); :)
only the keys the user can pres on that text box must be 1,2,3,4....0.
i hop you guys will help me on this little thing.