Know when laptop lid is closed

JamesStewy

New member
Joined
Sep 29, 2010
Messages
1
Programming Experience
1-3
Hi,

I have a laptop with windows 7 and I am trying to make a program for it. I want it to do is after a certain time of day when I close the lid of my laptop it will make it go to sleep. But at every other time of the day I want it to stay awake when I close the lid.

I have been looking all over the internet and i don't understand what people are saying.

If anyone can tell me a way of knowing when my laptops lid is closed in vb.net that would be fantastic.

Any help, code, instructions would be great.

Thanks in advanced.

JamesStewy
 
Back
Top