Hello,
How can validate a TEXT field if the email adress is in the correct format? (For example: myfriend.gmail.com is invalid)
Thanks
Alberto Ferraz
Page 1 / 1
Hello,
How can validate a TEXT field if the email adress is in the correct format? (For example: myfriend.gmail.com is invalid)
Thanks
Alberto Ferraz
This is a possible solution:
declare MailAdr as type System.Net.Mail.MailAddress.
declare expMess as type System.Exception.
try
set MailAdr to new System.Net.Mail.MailAddress(textBox2::Text)
catch expMess
invoke type System.Windows.MessageBox::Show(expMess::Message, "MailAddress invalid")
end-try.
Werner Lanter
Hello,
How can validate a TEXT field if the email adress is in the correct format? (For example: myfriend.gmail.com is invalid)
Thanks
Alberto Ferraz
Hello,
It works perfectly.
Thanks
Alberto Ferraz
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.