The enumerator you are using is not returning strings to you. It is returning
an object (probably of type name). I would suggest looking at the object in
the debugger and seeing what property it may have to access the name.

Signature
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
> Hi:
> I would like to use c# to access the names that defined in components
[quoted text clipped - 11 lines]
> the results only list "System._ComObject". why?
> Is it can not access just because the type is protected?
marxi - 02 Feb 2007 01:15 GMT
I know it is a Object type. But it located at final level. It has no
property. How can i access to it?

Signature
marxi
> The enumerator you are using is not returning strings to you. It is returning
> an object (probably of type name). I would suggest looking at the object in
[quoted text clipped - 15 lines]
> > the results only list "System._ComObject". why?
> > Is it can not access just because the type is protected?
marxi - 03 Feb 2007 04:35 GMT
can you helpl me? this problem have confused me many days! thank you very much!

Signature
marxi
> I know it is a Object type. But it located at final level. It has no
> property. How can i access to it?
[quoted text clipped - 18 lines]
> > > the results only list "System._ComObject". why?
> > > Is it can not access just because the type is protected?