In VB.NET I have the following code.
"
If Not m_bCDSform Then
m_cdsForm = New cdsForm
m_cdsForm.MdiParent = Me
m_cdsForm.Show()
Else
m_cdsForm.BringToFront()
End If
Public Sub setCDsForm(ByVal bOpen As Boolean)
m_bCDSform = bOpen
End Sub
"
When the m_cdsForm loads it does the following.
"
Dim MyMDIParent = Me.MdiParent.FindForm
MyMDIParent.setCDsForm(True)
"
Is there a way to accomplish the same sort of thing in VB 6.0? Any help would be greatly appreciated. Thanks in advance.
Everything I know I learned from The Grateful Dead and Buffy The Vampire Slayer
Charlie
"
If Not m_bCDSform Then
m_cdsForm = New cdsForm
m_cdsForm.MdiParent = Me
m_cdsForm.Show()
Else
m_cdsForm.BringToFront()
End If
Public Sub setCDsForm(ByVal bOpen As Boolean)
m_bCDSform = bOpen
End Sub
"
When the m_cdsForm loads it does the following.
"
Dim MyMDIParent = Me.MdiParent.FindForm
MyMDIParent.setCDsForm(True)
"
Is there a way to accomplish the same sort of thing in VB 6.0? Any help would be greatly appreciated. Thanks in advance.
Everything I know I learned from The Grateful Dead and Buffy The Vampire Slayer
Charlie