|
-
Sep 21st, 2000, 11:57 PM
#1
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
-
Sep 22nd, 2000, 03:30 AM
#2
Fanatic Member
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]
-
Sep 22nd, 2000, 06:11 AM
#3
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
-
Sep 22nd, 2000, 07:53 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|