"LEE" <(E-Mail Removed)> schrieb
> I'd like to call a function of child from parent form,
> there is an issue:
>
> Form1 (parent) calls "LoadMe" Sub in Form2 (child), it
> works using the codes (in Form1):
> Dim frm As New Form3()
> frm.LoadMe()
>
> but fails using these codes:
> Dim frm As Form ' defined as a global variable
> frm = New Form3()
> frm.LoadMe()
>
> How to fix it?
Dim frm As Form3 ' defined as a global variable
frm = New Form3()
frm.LoadMe()
--
Armin
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html