Hi Arnoldo,
The ToolBarButton class does not contain a Name property. It does have a Text property that displays the text shown on the button.
>Hi!!
>
>I'm New in VB.Net,
>
>I can't find how to get the object name,
>for example:
>
>I need to know the ToolbarButton.name I've assigned in design mode, in previous versions of visual basic an object's name could be retrieved by object.name, and i thought that it was possible to get the object name of a toolbarbutton because there is a property for the Name.
>
>Anyway, is there a way to get an object name?
>
>Thanks in Advance!
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi