|
-
Jun 30th, 2005, 11:55 AM
#1
Thread Starter
Junior Member
ArrayList inside Structure/Class
Is it not possible to use an ArrayList inside of a Structure or a Class?
I keep getting 'Object reference not set to instance of an object'
I am using New.
i.e.
Stucture ABC
Dim al as ArrayList
End Structure
Private Sub X()
Dim Struct1 as New ABC
Struct1.al.Add("anything")
End Sub
Last edited by sage; Jun 30th, 2005 at 12:50 PM.
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
|