源程序清单1、文件名 l o g i n(log i n、f r m)功能说明:整个系统得登陆界面,需要输入用户名与登陆密码才能进入到系统中,进行借阅等操作。源代码:Option Ex p l i citDim cn t As IntegerP rivate Sub man d 1_Cl i ck()Dim s ql A s St ringDim r s_l o g in As N ew ADO D B、Re co r d s e tIf Tr i m(b o 1、Text) = "" Then M s gB ox "没有这个用户", vbO K Only + vb E x c la m ation, "" b o1、Set F oc u sElse sq l = "se l ec t * fr om 系统管理 w he r e 用户名='" & bo1、Text & "'" rs_login、Op e n s q l, co nn, adOpenKeyset, a d Lock P essimi s t ic I f r s_lo g in、EO F = True T h en Msg B o x "没有这个用户", vb OKOnly + v bExclam ation, "" b o1、S etFocus El s e If Tri m(rs_l o gin、Fiel d s(1)) = Trim(t x tp w d、T ext) Then userID = bo 1、Tex t rs_login、C lo se Unl oad M e form1、Show Else M s gBox "密码不正确", vbOKOn l y + vbExcl a mation, "" txt pw d、SetFoc u s End If E nd IfE nd Ifc n t = cn t + 1I f cnt = 3 Then U n l oad MeE nd I fExit S ubE nd S u bP riv a t e Sub mand2_Click()Un l oa d MeEn d SubPri v ate S ub Form_L o ad()D i m conne c t i onst r ing A s St r in gc o n nectionstring = " provid e r = M icr o s o ft 、 Jet、oledb、4、0;" & _ "d a ta so u r ce=book、md b"conn、Open co nnection s t r ingc n t = 0E nd Su bP r ivate S ub tx t user_C ha nge()En d Sub2、文件名 form 1(f orm1、fr m)功能说明:整个系统得主界面,其中包括图书管理、读者管理、图书借阅管理、系统管理、关于,以及在这下面得子菜单。源代码:Pr i v a t e S u b add_a d m in_Cli c k()f rm a d ...