|
-
Oct 11th, 2004, 03:21 PM
#1
where is the count property?? (treeview)
The TreeNodeCollection class is a collection class of TreeNode objects. so treeview1.Nodes is of type TreeNodeCollection
Where in the HELL is the count property for the nodes???
If I do treeview1.nodes.count it works.. but it doesn't come up in intellisense...
http://msdn.microsoft.com/library/de...mberstopic.asp
-
Oct 11th, 2004, 05:49 PM
#2
Frenzied Member
I think it's a bug in VB Intellisense. I've seen another member that's not there, in another class, but I can't remember what it was. I do remember it drove me crazy, as I find myself leaning on Intellisense quite a bit. Guess we still need to read the documentation.
Interestingly, the TreeNodeCollection.Count property shows up in C#.
-
Oct 11th, 2004, 06:08 PM
#3
Not a bug per say, go to Tools->Options And under Text Editor->Basic uncheck the Hide advanced members checkbox.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Oct 11th, 2004, 06:51 PM
#4
yay gay
What is an advanced member to Vb.NET IDE?
\m/  \m/
-
Oct 12th, 2004, 08:15 AM
#5
Originally posted by PT Exorcist
What is an advanced member to Vb.NET IDE?
surely not the friggin count property!!!
possibly it is marked as advanced by error on the source code of the class (I am assuming C# is the source for those controls??)
-
Oct 12th, 2004, 09:13 AM
#6
Frenzied Member
Originally posted by crptcblade
Not a bug per say, go to Tools->Options And under Text Editor->Basic uncheck the Hide advanced members checkbox.
Cool, I did not know that was there, thanks. It's thrown me for a loop before, unchecking that option, what a stupid setting (or at least stupid implementation).
-
Oct 12th, 2004, 09:16 AM
#7
yeah seriously.. what is considered an "advanced" member anyway... (aside from the count property )
-
May 24th, 2007, 01:01 PM
#8
Frenzied Member
Re: where is the count property?? (treeview)
I would really be interested to hear Microsofts explination on this... I mean is to save resources or is to make VB users feel dumb?
Magiaus
If I helped give me some points.
-
May 24th, 2007, 07:22 PM
#9
Re: where is the count property?? (treeview)
That "Hide Advanced Members" option isn't available for VB, or at least it isn't in my IDE. VB shows two tabs on Intellisense: Common and All. C# just shows a single list and if you check "Hide Advanced Members" it will only show the ones that appear on the Common tab in VB. It is obviously done to reduce the number of members listed by removing those that are not commonly used. Maybe there have been some mistakes or slightly questionable criteria applied to decide which members are advanced but the motivation is fair enough. If you don't want an option applied then you don't apply it. Doesn't everyone go through the Options dialogue when they've installed a new application to see what settings there are available?
-
May 24th, 2007, 07:39 PM
#10
Frenzied Member
Re: where is the count property?? (treeview)
I asked 12 Vb programmers I work with and showed them this. They had no clue and most of them started asking me questions about what option to set to do blah blah blah.
I do that myself I set all my options turn on line numbers....
You are using 2005 in my 2005 the check box is disabled and yeah they have the Common and All. Pre 2005 in VB it is checked by default and only avaliable for VB.
Magiaus
If I helped give me some points.
-
May 24th, 2007, 07:44 PM
#11
Re: where is the count property?? (treeview)
Then obviously they have improved the situation in VS 2005. This is a manifestation of the idea that VB is supposed to be easier for the less technically-minded programmer. I never had this issue even when I was using VS.NET 2003. If you don't go through the Options dialogue then you're likely to miss some options I guess. The first thing I do when I install a new app is open the Options, Settings or Preferences dialogue. I suggest that everyone does the same.
-
May 29th, 2007, 09:09 AM
#12
Re: where is the count property?? (treeview)
yes.. this thread is pretty old (I started it in 2004)
This was something that affected .NET 2003 (and possibly 2002) but was NOT an issue in 2005.
-
May 29th, 2007, 05:59 PM
#13
Re: where is the count property?? (treeview)
Hmmm... didn't notice the dates on the earlier threads; only the latest one. I guess searching can dredge up old threads.
-
Aug 2nd, 2007, 09:27 AM
#14
Fanatic Member
Re: where is the count property?? (treeview)
I always check the Options, Preferences etc dialogs first, too...
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
|