by Domingo S. Fugaban (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
This is a sample of a User Login Interface that you can use when you plan to develop a secured application using a simple User Interface.
This user interface has an XP-like button. This also has the feature of using a Password-Enabled Access Database to store user accounts using DAO.
For VB5 users, you need to open a new project then just add the existing user control, add the form inluding the module...
Assumes
When you want to add User Accounts you can open the Access Database using the password AdmiN... Be careful when you input the password, take note that it is case-sensitive... The project's default User Name is Administrator and the default password is admin...
API DeclarationsOption Explicit
Public Type POINTAPI
X As Long
Y As Long
End Type
Public Declare Function WindowFromPoint Lib "user32" ( _
ByVal xPoint As Long, _
ByVal yPoint As Long) As Long
Public Declare Function GetCursorPos Lib "user32" ( _
lpPoint As POINTAPI) As Long