you could declare a public variable of your main form and fill it w the form
in the main form onload event
public mainf as frmMainForm
private sub frmMainForm_Load ...
mainf = me
....
end sub
you should be able to access the mainf
eric
"Atara" <At***@DD.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Is there a way to get the Application.mainForm from any place in the
code, e.g from a shared property of any class ?
Thanks
Atara
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!