collection in collection 
Author Message
 collection in collection

Hi,
   I don't know why after I put a single_hashtable in
another total_hashtable , the single_collection cannot be
retrieved if I set the single_hashtable  to nothing and
then create a new one with the same single_hashtable name
and add it to the total_hashtable. I can only retrieve the
last single_hashtable added to total_hashtable  from
reading total_hashtable. This means the following code
only works for the last added single_hashtable. It gave me
error message when I tried to retrieve the previous
hashtable. Please advise. Any suggestion will be
appreciated!

Dim tmyEnumerator As IDictionaryEnumerator =
total_hashtable.Item("Key").GetEnumerator()

error message:

An unhandled exception of
type 'System.NullReferenceException' occurred in
microsoft.visualbasic.dll

Additional information: Object variable or With block
variable not set.

Thanks,

wyy



Tue, 12 Apr 2005 05:05:10 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. using collection of collections

2. Collection of Collections?

3. Collections of Collections..how?

4. collections of collections

5. Collection of Collections

6. Collection of collections

7. Collection of Collections of Classes

8. VB4 class collections with collections

9. An ARRAY of a Collection of Collections !!??

10. Please!! help on COLLECTION of COLLECTIONS

11. collection into collection

12. User defined Collections within Collections

 

 
Powered by phpBB® Forum Software