To answer my own message:
I scouted round and found that VB.Net overrides the
default name in its Generated code region. Remove this
line of code eg:
Me.Name = "MyControl"
and hey presto, use Me.Name.
Cheers
Alan
[quoted text, click to view] >-----Original Message-----
>Commonly my VB6 usercontrols use Ambient.DisplayName to
>find their instance names on the parent form for default
>labelling etc.
>
>Can anyone tell me the VB.Net equivalent?
>
>Thanks in advance.
>
>Alan Davis
>.