On your Form_Unload event of each form add the following code. Just a note it is wise to make sure that the Top and Left aren't negative numbers. I had problems where if a user minimized the form, and then right clicked to close the form, it would show the form at -30000 top, and -30000 left. So it appeared that the form was lost.
[tt]
' Save Form Settings
strTemp = frmMain.Top
If Val(strTemp) > 0 Then
SaveSetting "MyApp", "Config", "FormTop", strTemp
Else
SaveSetting "MyApp", "Config", "FormTop", "100"
End If
strTemp = frmMain.Left
If Val(strTemp) > 0 Then
SaveSetting "MyApp", "Config", "FormLeft", strTemp
Else
SaveSetting "MyApp", "Config", "FormLeft", "100"
End If
[/tt]
Then on the form Load procedure you reset the position of the form.
[tt]
' Get Form Settings
strTemp = Trim(GetSetting("MyApp", "Config", "FormTop"

)
If Val(strTemp) > 0 Then
frmMain.Top = Val(strTemp)
End If
strTemp = Trim(GetSetting("MyApp", "Config", "FormLeft"

)
If Val(strTemp) > 0 Then
frmMain.Left = Val(strTemp)
End If
[/tt] Craig, mailto:sander@cogeco.ca
"Procrastination is the art of keeping up with yesterday."
I hope my post was helpful!!!