4
Contributors
6
Replies
7
Views
7 Years
Discussion Span
Last Post by zarifin99ska
0

I think I got your idea. Say for instance, your login form name is frmlogin and the main form is frmMain.
The code will be;

'-----this code should be inserted in frmlogin when the password is correct
frnMain.kryptonLabel22.text = usernameTextbox.text
me.close()

Please let me know if it helped you. I am markdean.

0
me.close()

because of this code ur whole application is close use me.hide() in place of me.close()

Now i understand ur question but u have to also define where u get trouble or error in doing this

Any try this if u get any more problem please explain ur point of with ur work i.e., what do for that.
Best Of Luck.

0

If you want the label to change when you login then you can do it conditionally

If loginsuccess = true then

lblkrypton22.text = "admin"

end if

Something like that? Not sure if i fully understand what you're trying to achieve.

- Jordan

0

thanks @markdean.expres

i simply put the wrong code. i put
username.text = form3.label.text,

thats why nothing happen. thanks.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.