I have an application that has a main mdi parent window to navigate and
perform basic function. I need the mdi window to accomplish everything I
need in there. I also need to be able to open up records in a new SDI
window. When I attempt to open the form it is not given focus and is opened
behind the mdi parent form. How do I give it focus and have it be opened on
top. I do not want it always on top. Just when it opens. Here is my code.

Dim exists As Boolean = False
For Each f As Form In My.Application.OpenForms
If f.Tag = nodeTag.Substring(1) Then
exists = True
f.Activate()
End If
Next
If Not exists Then
Dim act As New frmActivities
act.Tag = nodeTag.Substring(1)
act.Show()
act.Activate()
End If