check txtbox for email format

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,530
Location
Lansing, MI; USA
Programming Experience
10+
i know asp.net has the validater control that'll do this, but it's a windows app so that's why i posted this here.

ok i have a form that allows the user to enter contact info IE name, address, phone, email, etc and i with there was a validater control for windows or something to see if the user typed in a valid email

so things like 123@321 wouldnt be accepted anywho this checking can either be done on the LostFocus event of the textbox or a button click

i'd prefer the LostFocus event and it'll simply set a Boolean value whether it's a valid format or not

any ideas? i'm gonna check codeproject.com here soon
 
Umm what are you after mate? the validation code, what to validate, when to validate, etc

TPM
 
well i've already stated the what and when to validate, but the code is more or less what i could use but preferably an article is what i'm looking for (i'll take either or both really)
 
Back
Top