i think this code is better xD
Code:button1 (login) if my.settings.loginname = "" then msgbox ("you don't have a account ") end if button2 (register) if my.settings.loginname = "" then msgbox ("you need to write a name") exit sub else if my.settings.loginpassword = "" then msgbox ("lol you need to write a password") exit sub else my.settings.loginname = textbox1.text my.settings.loginpassword = textbox2.text msgbox (" UBER YOU HAVE AN ACCOUNT :O") end if end if![]()