wait so u want to check if windows is shutting down?
I am willing to help you but u hav to explain what u need help with better
Hi!
I need to check if windows is shutdown. i googled it but only found how to make it in 2006 but i wanna do this in 2008 to get it work.
When I exit my form itīs logoff but if i press shutdown button I get a error on my screen.
So, I need to check when my form1 is closing if windows is in shutdown mode or (restart mode).
Here is my code what I have on form1_closing
But I need to check if windows is shutdown something like:Code:Shell("Shutdown -l") Log off
Thanks btwCode:If windows.shutdown then nothing............... else shell("Shutdown -l")
-Rest in peace leechers-
Your PM box is 100% full.
wait so u want to check if windows is shutting down?
I am willing to help you but u hav to explain what u need help with better
i'm not sure but are u saying you've made it so that when u close ur form the computer shutsdown??
[IMG]https://i644.photobucke*****m/albums/uu165/geebes888/V1.png[/IMG]
-Advertisements(Permanent ban)
-Flaming(1+ day ban)
-Nazi or Racist content/comments ( 5+ day ban)
-Bumping old threads 1 week or older( 3 day ban)
-Using outside download sources "Links"( 3+ day ban)
-Spamming( 1+ day ban) -Begging for hacks ( 1 day ban)-
No virus scan( 1 day ban) -Fake VirusScan ( 7+ day ban) -Posting Viruses,keyloggers (permanent ban) -
Disrespect of Staff members (5+ day ban)
OMfG i hate hate noobs that ask for hacks they shuld just go in a hole and die
Thank me if i helped, or just thank me anyway
[Respect list]
Toymaker- for his crack hacking team.
[MPGH]-XpliCitt-
[MPGH]User1
[MPGH]Liz
[MPGH]Whitten
I have a feeling your doing this to make a virus...
Any donations would help
Originally Posted by Bombsaway707Originally Posted by BloodOriginally Posted by Alby-kunOriginally Posted by AliOriginally Posted by CodeDemon[21:13] CoderNever: HOLY SHIT ITS USER1!Yes it is me... Yup Yup
[IMG]https://i111.photobucke*****m/albums/n121/golmor/learntoprogram-1.png[/IMG]
Nope i donīt make =)!
Itīs the last part on my big project!
I got this code when I my app closes:
shell ("Shutdown -l")
But if i press shutdown/restart button I get a epic message/error
So i need to check if windows is shutdown or not
This is not a virus, iīll tell you what it is when itīs done =)
-Rest in peace leechers-
Your PM box is 100% full.