Help with Object comparing with Strict On.

  • Thread starter Thread starter flat_ross
  • Start date Start date
Can anyone help me get this to work with Option Strict On in VB?

Is it the line

Return A = B

that fails to compile? If so, just do what the C# code does, i.e.

Return A.Equals(B)



Mattias
 
Yes it was A = B that was the problem. I guess I should have tried the
C# syntax first, but I'm so gosh darn reliant on Intellisense in VB
that if a method does not show up on an object then it must not exist
:) Now I know otherwise.

Thanks.
 
Back
Top