Public Function SilentVerify(EmailInput As String) As Boolean
Check the EmailInput to see if it's valid.
End Function
-
OK, I use the text inside a text box to be checked with this function everything is allright.
SilentVerify(Text1.Text)
-
But I am reading the data from a text file:
-
Open (Text.Text) For Input As #1
Line Input #1, LineIn
Close #1
-
SilentVerify(LineIn)
This will return an error :
"ByRef argument type mismatch"
Why ?!
And how to resolve it ?!
__________________ Don't ask what your country can do for you, ask what you can do for your country...
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe