Thanks Jose
It works, yes I can get the form name, even befor I have no problem in getting the form name.
What I need is to store the form name into a variable then use this variable to call the form then the event I want.
My aim is to make the user control common for all my application.
thank again
>Pardon me for jumping in...
>
>If the user control is placed inside the form, as you say (not in a separate toolbar), can't you just use Me.Parent to reference the form?
>
>Try placing this code in your button Click event:
>MessageBox(Me.Parent.GetType().Name) ' should show form's class name
>
>If this works for you, there are several ways to call a method in your form, either using existing events / methods, or thru a custom interface.
>
>Regards
>Jose
>
>>Cathi, it does not work I can't see my form because it's in a deferant application in the same solution.
>>I stop here:
>>CType(me.FindForm(), Windows.Forms.Form.
>>after Form. it shows only these options (DockPaddingEdgesConverter(), DockPaddingEdges(), ControlCollection())
>>
<><><><><><><><><><><><><><><><><><><><>
<><> REMEMBER,,,,KNOWLEDGE IS POWER <><>
<><><><><><><><><><><><><><><><><><><><>