Results 1 to 15 of 15

Thread: un-stanby pc

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2004
    Location
    philippines
    Posts
    245

    un-stanby pc

    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?

  2. #2
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2004
    Location
    philippines
    Posts
    245
    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?

  4. #4
    Hyperactive Member
    Join Date
    Nov 2002
    Location
    Someplace 'ore the rainbow
    Posts
    392
    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
    When your answer is the Arc Sin of 1.015, you should check your Pythagorean triple.

  5. #5
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Perhaps if you simulate a keypress? Can you post the force standby code?


    Has someone helped you? Then you can Rate their helpful post.

  6. #6
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    AFAIK no software can run while a machine is in standby. The CPU only polls for HW interrupts.

  7. #7
    Hyperactive Member
    Join Date
    Nov 2002
    Location
    Someplace 'ore the rainbow
    Posts
    392
    Originally posted by manavo11
    Perhaps if you simulate a keypress? Can you post the force standby code?
    Correct, standby mode is designed to conserve power while having the computer still on. titan, what are you trying to do with this program?

    cjqp
    When your answer is the Arc Sin of 1.015, you should check your Pythagorean triple.

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Jan 2004
    Location
    philippines
    Posts
    245
    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.

  9. #9
    Frenzied Member ice_531's Avatar
    Join Date
    Aug 2002
    Location
    Sitting w/ Bob Status: -Next -To- Null- Friend: Philip
    Posts
    1,152
    lol i didn't see that this was double posted. try keeping this in the API forum

    :::`DISCLAIMER`:::
    Do NOT take anything i have posted to be truthful in any way, shape or form.
    Thank You!

    --------------------------------
    "Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
    "Finaly I can look as gay as I want..." - NoteMe
    Languages: VB6, BASIC, Java, C#. C++

  10. #10
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: un-stanby pc

    (3 yrs later LOL) I wonder if Wake-on-LAN in CMOS setup could accomplish this...
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  11. #11
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: un-stanby pc

    (1 month later)
    Good memory

    How would you activate the Wake-on-LAN? Through code? VB?


    Has someone helped you? Then you can Rate their helpful post.

  12. #12
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: un-stanby pc

    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
    (1 month later)
    Good memory

    How would you activate the Wake-on-LAN? Through code? VB?
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  13. #13
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: un-stanby pc

    So you could wake up another PC, but not run the app on the PC that's on standby and wake itself up...


    Has someone helped you? Then you can Rate their helpful post.

  14. #14
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: un-stanby pc

    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!
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  15. #15
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: un-stanby pc

    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?


    Has someone helped you? Then you can Rate their helpful post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width