Bug in object browser? (VB 2003)

A

Armin Zingler

Hi,

in VB 2003, open the object browser and have the members selected "by member
type". Then select Microsoft.Win32.RegistryKey (only an example representing
any class). It is sorted by member type (methods first, properties next),
but: among the same member type, the members are not sorted alphabetically
anymore like in VB 200*2*.

VB 200*3*:

C lose
D eleteSubKey
F inalize
S etvalue
C reateSubKey
G etSubKeyNames
O penRemoteBaseKey
T oString

(these are not all methods)

There seem to be two "groups" of methods (C-S and C-T) and each is sorted
alphabetically independent from each other. This often lead to some
confusion because I didn't find a member. Now I found out that I only
searched in the wrong "group".

Applying the *same* sort order in VB 200*2* worked as it should be:

C lose
C reateSubKey
D eleteSubKey
F inalize
G etSubKeyNames
O penRemoteBaseKey
S etvalue
T oString

Bug in VB 200*3*?
 
T

Tom Spink

Hi Armin, perhaps it's a feature, because it seems to group Subs and
Functions, You're talking about CreateSubKey, well I tried your example and
CreateSubKey is the first function in the list. All the ones previous to
that, e.g. Close --> SetValue are Sub's, and are sorted Alphabetically, then
CreateSubKey --> ToString are functions, sorted alphabetically.

--
Happy to help,
-- Tom Spink
([email protected])

http://dotnetx.betasafe.com >> On The Mend

Please respond to the newsgroup,
so all can benefit.


One Day,
 
A

Armin Zingler

Tom Spink said:
Hi Armin, perhaps it's a feature, because it seems to group Subs
and Functions, You're talking about CreateSubKey, well I tried your
example and CreateSubKey is the first function in the list. All the
ones previous to that, e.g. Close --> SetValue are Sub's, and are
sorted Alphabetically, then CreateSubKey --> ToString are functions,
sorted alphabetically.

Um...yes...seems you're right. I should have noticed this. :-/

Ok, it's a feature, not a bug!

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top