Article ID: 180747
Article Last Modified on 11/18/2003
Option Explicit
Private Declare Function SetForegroundWindow Lib "user32" _
(ByVal hwnd As Long) As Long
Private Sub Form_Unload(Cancel As Integer)
SetForegroundWindow MDIForm1.hwnd
End Sub
Option Explicit
Private Sub Command1_Click()
Form2.Show vbModal
End Sub
Additional query words: kbVBp500bug kbVBp600fix kbVBp kbdsd kbDSupport kbNoKeyWord
Keywords: kbbug kbfix KB180747