Results 1 to 3 of 3

Thread: shut down

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2004
    Posts
    5

    shut down

    hi i would want to shut down the computer when te user clicks a button. can you give me the exact code that is supposed to be between private sub and end sub ( i am a newbie). thanks

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989
    Try doing a search on the forum. You will find that most your questions have already been asked (and answered).

    http://www.vbforums.com/showthread.p...t+down+windows

    http://www.vbforums.com/showthread.p...t+down+windows

    http://www.vbforums.com/showthread.p...t+down+windows

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    there is a shutdown command in XP that you could shell to.

    type shutdown /? for parameters. its easier, I think.

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