ok i know how to force a standby mode through VB but the proble m is i don't know how to un-standby my pc through code. if there's anyone can answer this, it's the pro's turf. can you help me?
Printable View
ok i know how to force a standby mode through VB but the proble m is i don't know how to un-standby my pc through code. if there's anyone can answer this, it's the pro's turf. can you help me?
AFAIK getting a computer out of standby mode requires a hardware interrupt to be fired - which can only happen from a physical source like a modem ring, keyboard signal, etc. this does not seem possible via code of any kind.
i see so.. is there an altrnative way of doing it? like is there a way i can force window to be always on top and negate other events such as clicking the desktop and taskbar. like disabling the environment except the window i opened?
You get hook the mouse or keyboard, which would be most effective, but hardest. Or you could cycle through all the windows and disable them.
cjqp
Perhaps if you simulate a keypress? Can you post the force standby code?
AFAIK no software can run while a machine is in standby. The CPU only polls for HW interrupts.
Correct, standby mode is designed to conserve power while having the computer still on. titan, what are you trying to do with this program?Quote:
Originally posted by manavo11
Perhaps if you simulate a keypress? Can you post the force standby code?
cjqp
i'm createing a LAN Commander type of program which i am successful but not on this one. i force a standby mode remotely but the thing is i want also to be able to UN-STANDBY remotely. but keep in mind that a password must be provided. is it true that there are no program that runs while on standby? because i have this bot program that i runovernight while my pc is on standby mode and it works perfectly fine.
lol i didn't see that this was double posted. try keeping this in the API forum
:p :rolleyes:
(3 yrs later LOL) I wonder if Wake-on-LAN in CMOS setup could accomplish this...
(1 month later)
Good memory :D
How would you activate the Wake-on-LAN? Through code? VB?
Not sure how to answer this, so I'll just describe it.
Via CMOS setup, some mobos can be "wake'd on lan".
I never tried it, but apparently if the system has this enabled, another PC on the same LAN can send a "magic packet" to the sleeping PC. VB can send a magic packet.
Quote:
Originally Posted by manavo11
So you could wake up another PC, but not run the app on the PC that's on standby and wake itself up...
I believe your statement is false. I saw a post where someone was able to write a program that ran on a PC that was in Stand-By mode, and woke itself up. I know it sounds fantastical LOL but I saw it here somewhere!
Well, I based my comment on what was posted above, that programs aren't really running when it's in standby mode. Which kind of makes sense... Never say never though, right? :p