ok. it seems you're creating + referring to a new instance of your form, instead of the open instance you should be referring to. here's an example using a form (Form2) + a button (Button1):
vb Code:
DirectCast(My.Application.OpenForms("Form2").Controls("Button1"), Button).PerformClick()




Reply With Quote