Results 1 to 3 of 3

Thread: how cna i hide my program form showing up in the rtl alt delete thing ?????

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Posts
    219

    Post

    how cna i hide my program form showing up in the crtl alt delete thing ?????

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    Just Disable CTRL+ALT+DEL with this code:

    In the General:

    Option Explicit
    Const SPI_SCREENSAVERRUNNING = 97
    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

    In the form activate:

    Call SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, "1", 0)

  3. #3
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    to disable just ctrl-alt-del and not the other things like alt-f4 and alt-tab and all that, put in this code:

    Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long

    Private Sub Form_Unload(Cancel As Integer)
    Call RegisterServiceProcess(0&, 0&)
    End Sub

    Private Sub Form_Load()
    Call RegisterServiceProcess(0&, 1)
    End Sub


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