Results 1 to 2 of 2

Thread: Save Desktop Layout settings

  1. #1
    Guest

    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?

  2. #2
    Guest
    Try:

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width