System logon dialog box Summary

Source: Internet
Author: User

System logon Summary

Part 1 Background

1. Set the defalt attribute of the command button control to true. The button becomes the default button in the window. Other command buttons are automatically set to false. Press enter to activate them, other widgets with focus do not accept enter Keyboard Events.

2 Addo connection object. Used to open and establish a connection with the data source. The connectionstring attribute, open method, and close method are mainly used.

3ado recordset object. Used to save the records obtained from the data source. The active connection attribute, the EOF attribute fields set, and the open method are used.

4 trim function. Function: delete spaces at the beginning and end of a string.

5msgbox function. The dialog box is displayed. Variable = (information content, Dialog Box Type + icon type, dialog box title)

Feature of the second sub-system

1. Save the authentication information in the database and query the data during login to complete data verification.

2. added the limit on the number of logins function. Users can perform verification at most three times each time.

Part 3 implementation process and code

1. Create a database

2. design form

3. Create an ADO reference

4. Write functional code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.