Private bOWCheck() As Boolean
You've declared an array of
Boolean
values, but nowhere in the code you've shown have you actually initialized it. Therefore, its value is
Nothing
, and attempting to read from or write to it will produce a
NullReferenceException
.
Arrays in Visual Basic | Microsoft Docs[
^]
NB: You could have found this out for yourself much faster by simply
debugging your code!