Results 1 to 2 of 2

Thread: Win98 Login

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    Lisbon, Portugal
    Posts
    55
    Hi!

    I want to make an Windows 98 login, that allows, or don't allows the user to enter in system but i don't know how to start!! :-))

    Do you know a way, or a tip?

    Thanks for the help!
    MacDuke
    [email protected]

  2. #2
    Addicted Member
    Join Date
    May 2000
    Posts
    240

    Try this web site

    Here's some API that i found that could possibly be modified to suit your needs

    ********verifyscreensaverpsw*********
    Private Declare Function VerifyScreenSavePwd Lib "password.cpl" (ByVal hwnd As Long) As Boolean
    Private Sub Form_Load()
    'KPD-Team 2000
    'URL: http://www.allapi.net/
    'E-Mail: [email protected]
    Dim Ret As Boolean
    'Ask the user to type in the password
    Ret = VerifyScreenSavePwd(Me.hwnd)
    If Ret Then
    'If there's no password, VerifyScreenSavePwd automatically returns True
    MsgBox "OK.... you've entered the correct password, or there is no screen saver password!"
    Else
    MsgBox "Invalid password entered"
    End If
    End Sub

    *********************


    ****pswchangeapi****


    Private Declare Function PwdChangePassword Lib "mpr" Alias "PwdChangePasswordA" (ByVal lpcRegkeyname As String, ByVal hwnd As Long, ByVal uiReserved1 As Long, ByVal uiReserved2 As Long) As Long
    Private Sub Form_Load()
    'KPD-Team 2000
    'URL: http://www.allapi.net/
    'E-Mail: [email protected]
    PwdChangePassword "SCRSAVE", Me.hwnd, 0, 0
    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