Prevent shutdown of computer
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
4 posts
Page 1 of 1
Hey Coders,
I've got another program. I want to abort/cancel the shutdown of Windows during the time my program is running. I've tried:
I've got another program. I want to abort/cancel the shutdown of Windows during the time my program is running. I've tried:
Code: Select all
That wont work (this is just what I did, if you copy & paste it, it wont work), do you have solution?timer1.interval = 1
timer1.enable = true
timer 1 code:
if "shutdown" is running (the procces) then
shell("shutdown -a")
end if
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
Hello clanc,
see if i understand it correct.
you are working with timer?
after during the timer you want to abort the shutdown.
is there a display to show how much time you have before shutdown?
see if i understand it correct.
you are working with timer?
after during the timer you want to abort the shutdown.
is there a display to show how much time you have before shutdown?
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
Dummy1912 wrote:Hello clanc,He wants his application to detect if someone is trying to shutdown his pc and then stop it using command line.
see if i understand it correct.
you are working with timer?
after during the timer you want to abort the shutdown.
is there a display to show how much time you have before shutdown?
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Codex wrote:Yes Codex, you are totally right, but does someone have a solution on how to do this?Dummy1912 wrote:Hello clanc,He wants his application to detect if someone is trying to shutdown his pc and then stop it using command line.
see if i understand it correct.
you are working with timer?
after during the timer you want to abort the shutdown.
is there a display to show how much time you have before shutdown?
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
4 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023