Click here to Skip to main content
15,910,277 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: deployment in window applications. Pin
Sonia Gupta22-Jun-07 1:51
Sonia Gupta22-Jun-07 1:51 
AnswerRe: deployment in window applications. Pin
kubben22-Jun-07 1:59
kubben22-Jun-07 1:59 
QuestionRe: deployment in window applications. Pin
Sonia Gupta22-Jun-07 2:07
Sonia Gupta22-Jun-07 2:07 
AnswerRe: deployment in window applications. Pin
kubben22-Jun-07 2:10
kubben22-Jun-07 2:10 
Questionemail validation in windows application [modified] Pin
praveenkumar palla22-Jun-07 1:25
praveenkumar palla22-Jun-07 1:25 
AnswerRe: email validation in web application Pin
Sathesh Sakthivel22-Jun-07 1:39
Sathesh Sakthivel22-Jun-07 1:39 
GeneralRe: email validation in web application Pin
praveenkumar palla22-Jun-07 3:39
praveenkumar palla22-Jun-07 3:39 
GeneralRe: email validation in web application Pin
Dave Kreskowiak22-Jun-07 4:22
mveDave Kreskowiak22-Jun-07 4:22 
The email address format validation is normally done by a regular expression. The link he posted was kind of accurate, but since it's a C++ article, it may be difficult to understand.

This code was taken from this article[^] and converted to VB.NET.
VB
Imports System.Text.RegularExpressions
.
.
.
Public Shared Function EmailAddressIsValid(ByVal address As String) As Boolean
   Dim strRegex As String = "^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}" & _
                            "\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\" & _
                            ".)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"
   Dim re As New Regex(strRegex)
   If re.IsMatch(address)
        Return True
    Else
        Return False
End Function



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


AnswerRe: email validation in windows application Pin
Vasudevan Deepak Kumar22-Jun-07 4:19
Vasudevan Deepak Kumar22-Jun-07 4:19 
AnswerRe: email validation in windows application Pin
ctwalker22-Jun-07 5:27
ctwalker22-Jun-07 5:27 
QuestionCrystal reporting Pin
saurabh4u2222-Jun-07 0:52
saurabh4u2222-Jun-07 0:52 
AnswerRe: Crystal reporting Pin
Rupesh Kumar Swami22-Jun-07 1:09
Rupesh Kumar Swami22-Jun-07 1:09 
AnswerRe: Crystal reporting Pin
Dave Kreskowiak22-Jun-07 4:14
mveDave Kreskowiak22-Jun-07 4:14 
AnswerRe: Crystal reporting Pin
ctwalker22-Jun-07 5:02
ctwalker22-Jun-07 5:02 
QuestionHow do I increase the resolution of DrawPie [modified] Pin
GuyThiebaut22-Jun-07 0:40
professionalGuyThiebaut22-Jun-07 0:40 
AnswerRe: How do I increase the resolution of DrawPie Pin
saurabh4u2222-Jun-07 0:54
saurabh4u2222-Jun-07 0:54 
GeneralRe: How do I increase the resolution of DrawPie Pin
GuyThiebaut22-Jun-07 2:07
professionalGuyThiebaut22-Jun-07 2:07 
AnswerRe: How do I increase the resolution of DrawPie [modified] Pin
GuyThiebaut22-Jun-07 2:55
professionalGuyThiebaut22-Jun-07 2:55 
QuestionAdd Data to combobox of Datagridview Pin
Rupesh Kumar Swami22-Jun-07 0:24
Rupesh Kumar Swami22-Jun-07 0:24 
AnswerRe: Add Data to combobox of Datagridview Pin
sathesh pandian22-Jun-07 0:53
sathesh pandian22-Jun-07 0:53 
GeneralRe: Add Data to combobox of Datagridview Pin
Rupesh Kumar Swami22-Jun-07 1:14
Rupesh Kumar Swami22-Jun-07 1:14 
Questioncreating text file Pin
warwarphoo22-Jun-07 0:19
warwarphoo22-Jun-07 0:19 
AnswerRe: creating text file Pin
Rupesh Kumar Swami22-Jun-07 0:38
Rupesh Kumar Swami22-Jun-07 0:38 
AnswerRe: creating text file Pin
Dave Kreskowiak22-Jun-07 4:09
mveDave Kreskowiak22-Jun-07 4:09 
QuestionHow to open pdf file in vb.net applicatin? Pin
Tariq Younas22-Jun-07 0:16
professionalTariq Younas22-Jun-07 0:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.