Make your own free website on

[an error occurred while processing this directive]
'This program needs two forms, two buttons and a module
'KPD-Team 1998
Private Declare Function BringWindowToTop Lib "user32" (ByVal hwnd As Long) As Long
Private Sub Command1_Click()
    'in form1
    'Set Form2 on top
    BringWindowToTop Form2.hwnd
End Sub
Private Sub Form_Load()
    'in form1
    Form2.Visible = True
End Sub
Private Sub Command1_Click()
    'in form2
    'Set Form1 on top
    BringWindowToTop Form1.hwnd
End Sub

Copyright © 1998-2000, The KPD-Team.
Send mail to with comments about this web site.
This site is located at