Results 1 to 3 of 3

Thread: alt-ctrl-delete disabling

  1. #1

    Thread Starter
    Member bcx7's Avatar
    Join Date
    May 1999
    Location
    Adelaide, South Australia, Australia
    Posts
    46

    Question

    How can I disable alt-ctrl-del so the 'close program' dialog it won't come up while my program is running.

  2. #2
    Member
    Join Date
    Jan 1999
    Posts
    41
    Try to use below posted code, and please let me know if
    it would help you.

    Private Declare Function SystemParametersInfo Lib _
    "user32" Alias "SystemParametersInfoA" (ByVal uAction _
    As Long, ByVal uParam As Long, ByVal lpvParam As Any, _
    ByVal fuWinIni As Long) As Long

    Sub DisableCtrlAltDel(bDisabled As Boolean)
    Dim X As Long
    X = SystemParametersInfo(97, bDisabled, CStr(1), 0)
    End Sub

    'to disable
    Call DisableCtrlAltDel(True)

    'to enable
    Call DisableCtrlAltDel(False)

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    search vb world for "Disable"
    it will then show you the article??
    or some rtcles, u can chuse!

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