Results 1 to 4 of 4

Thread: startup/shutdown

  1. #1
    Guest
    Just as theres a startup folder, and entries in the registry where Windows will look when it starts up, are there similar things for when Windows is shutting down (without making a TSR)?

    Sunny

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754

    Post

    Not as far as i'm aware.... when windows shuts down, it issues commands to all the currently running processes (in hierarchical thread order) one by one to close down, if applicable they will ask you if you want to save your work, then close, until all are gone, and it can shutdown.

    You could obtain this list just before shutting down if you want to know whats running.
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

  3. #3
    Guest
    You can do stuff while Windows is shutting down:

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

  4. #4
    Guest
    The problem with this is that there needs to be a program running in memory, I would like to avoid that (mentioned in the first post)

    Sunny

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