Hi Guys (oops !! 'n Gals)
Is there is a way to know if a form is currently loaded in memory.
something like
VB Code:
if isloaded(frmMain) then Unload frmMain endif
All Smiles
Anil
Printable View
Hi Guys (oops !! 'n Gals)
Is there is a way to know if a form is currently loaded in memory.
something like
VB Code:
if isloaded(frmMain) then Unload frmMain endif
All Smiles
Anil
VB Code:
Private Sub cmd_Click() Dim frm As Form For Each frm In Forms If frm.caption <> "welcome" Then msgbox "Form welcome Found" End If Next frm End Sub
Check the Name property instead. It's less likely to be changed.
u can use the tag , name caption properties this was just to give u a idea...;)