Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/10/2013, 13:29
Avatar de cronopiomx
cronopiomx
 
Fecha de Ingreso: mayo-2012
Ubicación: Programing Cloud
Mensajes: 282
Antigüedad: 11 años, 11 meses
Puntos: 28
Respuesta: Validar email especifico en VB.NET

Hola, puedes probar usando esta funcion que hace uso de Expresiones regulares, es facil pasarla a VB.NET.

Código:
public static bool validarEmail(string email)
        {
            string expresion = "\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*";

            if (Regex.IsMatch(email, expresion))
            {

                if (Regex.Replace(email, expresion, String.Empty).Length == 0)
                    return true;
                else
                    return false;
            }
            return false;
        }
saludos