PDA

Click to See Complete Forum and Search --> : Save Desktop Layout settings


Nov 23rd, 2000, 11:22 AM
Prior to a 'forced' Windows Shutdown or Reboot, How can I save the Desktop Layout settings as these are not routinely saved during a forced operation?

What is the code or API call that can be run to do this?

Nov 23rd, 2000, 12:22 PM
Try:

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If UnloadMode = vbAppWindows Then
'Save your work
End If
End Sub