Validate Bank Routing Numbers (VB.NET)
Category:
C#, VB.NET, ASP.NETType:
ClassesDifficulty:
BeginningAuthor:
Mike WaltersVersion Compatibility: Visual Basic.NET, ASP.NET
More information:
This Class will return true or false values. Code for calling the Class:
Dim i_BankCheck_o As New Bank Try If BankCheck.Checkroute(TextBox1.Text) Then Label1.Text = TextBox1.Text & " = YES" Else Label1.Text = TextBox1.Text & " = NO" End If Catch exp As Exception Throw New Exception(exp.Message.ToString, exp.InnerException) Label1.Text = TextBox1.Text & "To long or errer" End Try
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: