|
-
Jun 22nd, 2002, 04:45 AM
#1
Thread Starter
Frenzied Member
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.
-
Jun 22nd, 2002, 05:00 AM
#2
Not NoteMe
Use the function IsNull() to check, instead of if object = null/nothing
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
-
Jun 22nd, 2002, 05:06 AM
#3
Thread Starter
Frenzied Member
not works 
any other idea?
jim.
-
Jun 22nd, 2002, 05:10 AM
#4
Thread Starter
Frenzied Member
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*
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|