-
July 21st, 2000, 06:16 AM
#1
link list in vb
i want to inpliment the linklist concept in the in the Visual Basic. how it is possible? and how can i handle it
-
July 21st, 2000, 06:27 AM
#2
Re: link list in vb
The easiest thing is to use a 'collection'. Although the documentation doesn't say so, it appears that 'collections' are essentially linked lists by a different name.
-
July 21st, 2000, 06:39 AM
#3
Re: link list in vb
there is absolutely no built-in linking mechanism in a collection.
You'd have to build that yourself.
-
July 21st, 2000, 06:43 AM
#4
Re: link list in vb
MSDN article Q166394 has a complete sample for building a linked list using Class modules.
-
July 21st, 2000, 06:44 AM
#5
Re: link list in vb
thanks for the suggestion.
but i want something else. okkkkkkkkkkkk...
-
July 21st, 2000, 07:08 AM
#6
Re: link list in vb
thanks Lothar Haensler
can u tell me about hashtable in VB
is there any other library instade of scripting
actually i got code in vbpj
<vbcode>
dim hash as HashTable
hash.add "pramod"
</vbcode>
but i didnt get which reference i should add
-
July 21st, 2000, 07:11 AM
#7
Re: link list in vb
>actually i got code in vbpj
I guess, the code for the HashTable is probably part of the article you found on VBPJ.
Try downloading the complete article.
-
July 21st, 2000, 11:45 AM
#8
Re: link list in vb
I'm not sure what you mean 'no built-in linking mechanism'. A collection has mechanisms for adding new objects and for iterating through the list. Isn't this what a linked list is supposed to do?
It's also not too hard to add facilities such as sorting and inserting by making it a class. There's excellent step-by-step documentation for this in the help.
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
|