Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / May 2005



Tip: Looking for answers? Try searching our database.

Collection count VB6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bernard Bourée - 08 May 2005 15:38 GMT
Hi

I have a class named Val
and a collection named Vals which contains an "Add" procedure
to the collection Vals
When I place a debug.print Vals.Count
to check the number of Val in the collection
the maximum value reached is 996 even more Val are added ???

Can someone help me?

Bernard
alpine - 08 May 2005 16:19 GMT
>Hi
>
[quoted text clipped - 8 lines]
>
>Bernard

I doubt anyone will be able to help very much without seeing the code
you are using to add items to your collection.

HTH,
Bryan
____________________________________________________________
New Vision Software                   "When the going gets weird,"
Bryan Stafford                     "the weird turn pro."
alpine_don'tsendspam@mvps.org     Hunter S. Thompson -  
Microsoft MVP-Visual Basic     Fear and Loathing in LasVegas
MikeD - 08 May 2005 16:48 GMT
>>Hi
>>
[quoted text clipped - 11 lines]
> I doubt anyone will be able to help very much without seeing the code
> you are using to add items to your collection.

In addition, Val is a bad name to use for your class. This is because Val is
an intrisinc VB function.  You should never duplicate names of VB's
statements, functions, and keywords for your own procedures, properties,
class names, etc.

Signature

Mike
Microsoft MVP Visual Basic

Bamboocha - 28 May 2005 16:44 GMT
Bernard Bourée schrieb:

> Hi
>
[quoted text clipped - 8 lines]
>
> Bernard

Can you post the relevant lines for adding your Val into Vals?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.