When I do it, I create a variable on the form you are showing like this:
VB Code:
Dim myCaller as Form
So when you call the form, the code would be something like this:
VB Code:
Dim x As New frmX x.myCaller = Me Me.Hide() x.Show()
And in the form that is shown, when I need to reshow the calling form, just use
VB Code:
myCaller.Show
Of course, you could also put this into the forms Sub New then you can't forget to set it.




Reply With Quote