Results 1 to 6 of 6

Thread: A simple Question... I guess...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2000
    Posts
    20

    A simple Question... I guess...

    Can I know when the user is Turning off the computer?? I mean :
    Start, Shut down windows
    Can I detect that??
    Thanks again and sorry my english

  2. #2
    PowerPoster Arbiter's Avatar
    Join Date
    Sep 2000
    Location
    Manchester
    Posts
    2,276
    If you bung some code in there, will it then stop Windows shutting doen until it's complete or will Windows streamroller right over it?
    Gentile or Jew,
    O you who turn the wheel and look to windward,
    Consider Phlebas, who was once handsome and tall as you...

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    How the **** would I know
    You try it ....
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  4. #4
    New Member
    Join Date
    Apr 2001
    Posts
    5

    Lightbulb

    I don't think you can prevent the shutdown, this does, however, give you a chance to close up shop and put things away before you go down.
    - Mack

  5. #5
    PowerPoster Arbiter's Avatar
    Join Date
    Sep 2000
    Location
    Manchester
    Posts
    2,276
    PlenderJ,

    If you've no idea what the hell you're on about maybe you should just button it and get back to planting potatoes!!!

    Mack,

    You'd have about a billisecond to close everything down before windows annihilates the running code. If you're in the middle of saving a large file for example and it turns the machine off, there's going to be all sorts of fun and games.
    Gentile or Jew,
    O you who turn the wheel and look to windward,
    Consider Phlebas, who was once handsome and tall as you...

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    pff poop on you arbiter
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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