-
Invalid use of Object :/
Hello ppls,
well.. it looks like ive some difficulties with private class module handling, im want to verify if a class not defined in my array (fletters) but when im try to check with "If Not FLetters(Z1) = Nothing Then" ive got the 'Invalid use of Object' error, and i cant figure out how can i verify this... :(
so, heres the declaration
Private FLetters() As LetterHandle
in the form_load event:
ReDim FLetters(0)
and somewhere in the code ive increased the arrays index, and 'bind' the new class:
ReDim Preserve FLetters(C)
Set FLetters(C) = New LetterHandle
... some index of this array is stay 'Nothing'...
i know my problem looks a little bit lame, but ive never tried to use this before..
pls help
jim.
-
Use the function IsNull() to check, instead of if object = null/nothing
-
not works :(
any other idea?
jim.
-
ive tried IsEmpty().. but ive got the sames like with IsNull()...
the arrays index not empty, and not null, but its Nothing.. so how can i verify? :( *sniff*