Click to See Complete Forum and Search --> : windows startup & shutdown
pearcore
May 4th, 2000, 01:51 PM
can i detect when windows starts up and shuts down???
V(ery) Basic
May 5th, 2000, 12:43 AM
Erm... I don't know what you're wanting this for.
If you gave us a little background it would help.
Sorry to be picky,
Me
:D
kedaman
May 5th, 2000, 02:17 AM
Put your app to run in autorun folder and in the load event you have the windows startup things and in querry unload event put it detects windows exit if unloadmode=vbAppWindows
V(ery) Basic
May 5th, 2000, 02:51 AM
Yeah. What he said.
[V(ery) Basic: That was quite embarrassing]
[Computer: Yeah. It was.]
[V(ery) Basic: I'll go to another forum.]
[Computer: That's probably best.]
V(ery) Basic
May 5th, 2000, 02:54 AM
I think I should change my signature to:
'I am the most under-rated person since Judas Iscariot won the
AD31 best disciple competition'
:(
What do you guys think?
kedaman
May 5th, 2000, 03:08 AM
LOL, Go ahead! I liked you conversation with the computer
V(ery) Basic
May 5th, 2000, 05:01 PM
Nobody likes me
:(
I'm going to keep the signature because it woudn't make sense if I
changed it.
[Computer: It doesn't make sense as it is]
[V(ery) Basic: Oh shut up]
[Computer: Deleting win386.swp...]
[V(ery) Basic: Nooooooo&$%£"()*&$]
kedaman
May 5th, 2000, 05:42 PM
Don't say that, you're my friend Very Basic
simonguan
May 17th, 2000, 10:06 AM
When the windows shutdown was deteced, can i abort it???!!!
kedaman
May 17th, 2000, 10:27 AM
Haven't tested it, but i give you this for you to try
Declare Function AbortSystemShutdown Lib "advapi32.dll" Alias "AbortSystemShutdownA" (ByVal lpMachineName As String) As Long
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.