Hi,
Kerry, what you say stands for C#, it's not the same with VB (which is much more verbose
).
In VB,
= is the assignment operator and also the equality operator for value types (numbers, strings, structures).
<> is the inequality operator for value types
Is is the equality operator for reference types.
IsNot is the inequality operator for reference types.
So it would be :
If myPaletteSet Is Nothing Then