Results 1 to 4 of 4

Thread: Enable/Disable Log off/Sign out, Lock and Sleep on Start Menu & Ctrl+Alt+Del

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2024
    Posts
    13

    Question Enable/Disable Log off/Sign out, Lock and Sleep on Start Menu & Ctrl+Alt+Del

    Hi everyone here, just wanna ask if vb6 can enable and disable Log off/Sign out, Lock and Sleep on start menu also in ctrl+alt+del menu?

    Name:  vb6.png
Views: 246
Size:  13.4 KB

    We know that we can enable and disable it manually through gpedit and regedit but is there any way I can simple enable and disable it using vb6?

    Name:  Sign-out_gpedit-1.jpg
Views: 185
Size:  36.6 KB

    Name:  start menu.png
Views: 230
Size:  4.4 KB

  2. #2
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,653

    Re: Enable/Disable Log off/Sign out, Lock and Sleep on Start Menu & Ctrl+Alt+Del

    Yes, change the registry key via API... RegOpenKeyEx etc, search.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2024
    Posts
    13

    Re: Enable/Disable Log off/Sign out, Lock and Sleep on Start Menu & Ctrl+Alt+Del

    Quote Originally Posted by fafalone View Post
    Yes, change the registry key via API... RegOpenKeyEx etc, search.
    Hi, can you help me how to do that sir? Thanks

  4. #4
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,653

    Re: Enable/Disable Log off/Sign out, Lock and Sleep on Start Menu & Ctrl+Alt+Del

    Use the search feature of this website, there's gotta be at least 100 code snippets of registry APIs.

Tags for this Thread

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