VB.net String Compare Not Equal

To compare to string in VB.net like many other language you can’t just use the equal sign = You have to use the .equal() function Dim firstString As String = “test” Dim secondString As String = “test” If (firstString.Equals(secondString)) Then ‘ code End If Now to set this to not equal to you could simply use

Read More