Help Me!!!! T_T
I want to create an instance of System.Windows.Forms.KeyEventArgs in vb.net for me to be able to use the .keyCode method of that class...is this possible???
basically, i want to create an instance of it in my txtbox_textchange event this is for monitoring the input of the user, if the user typed in a Space (keyCode 32) then it will not permit the user to type in again.. basically thats how i want it to be...
for u guys to understand me, (hehehe) i am trying to make a program that adds user accounts (included in it is the email) so basically, when i input the firstname, lastname of the user it will automatically generate the email of that person
eg.
firstname = vinci
lastname = code
email would be:
vinci.code@domain.net
when i input the first name like this: "vinci vinci"
then the program will only take the first name "vinci" the 2nd it disregards so with the lastname. this is i think where i should place the keyeventargs (keyCode) method..
i used the event textChange because i wanted that when i input the first character of name or lastname it will automatically add that to the email's textbox.
eg. when i type "v" in the firstname textbox, then "v" would also be placed in the email textbox.
hope its clear... :)
ps. firstname and lastname have different textboxes
hope u talented, smart guys could help me!
needed your help,
vinci