Results 1 to 6 of 6

Thread: Shutdown Computer (NOT TESTED)

  1. #1

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253

    Shutdown Computer (NOT TESTED)

    VB Code:
    1. Private Const EWX_SHUTDOWN As Long = 1
    2. Private Declare Function ExitWindowsEx Lib "user32" (ByVal dwOptions As Long, ByVal dwReserved As Long) As Long
    3.  
    4. lngResult = ExitWindowsEx(EWX_SHUTDOWN, 0&)

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


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

  3. #3

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Geez sorry, i will not post anything next time

  4. #4
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    You should post, but after you search


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

  5. #5

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Yeah i guess, its just for me its better to have say 5 examples of you want as opposed to 1, then you can learn from each.

  6. #6
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Then find the already existing thread and post a reply there so all the options are gathered together and you save other people lots of searching Anyway, just try to keep it in mind for the future


    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