国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

【引用外部鏈接圖片】【隱藏Access后臺(tái)界面】【注冊(cè)登錄窗體】

2022-10-30 01:19 作者:凌霄百科  | 我要投稿

引用外部鏈接圖片

Dim imagepath As String

Private Sub 圖片名稱(chēng)_DblClick(Cancel As Integer)

imagepath = CurrentProject.Path & "\" & "圖片\" & Me.圖片名稱(chēng) & ".png"

Forms("引用外部鏈接圖片").image圖像.Picture = imagepath

End Sub


隱藏Access后臺(tái)界面

隱藏后臺(tái)界面

Public hidden_num As Integer

Public restore_num As Integer

Private Sub Command隱藏_Click()

If hidden_num = 0 Then

hidden_num = 1

restore_num = 0

fSetAccessWindow (0)

Else

hidden_num = 0

showwindow Access.Application.hWndAccessApp, 5

End If

End Sub


Private Sub Form_Timer()

If restore_num = 0 Then

DoCmd.Restore

restore_num = 1

End If

End Sub

模塊1

Public Declare PtrSafe Function showwindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long


Private Declare PtrSafe Function apiShowWindow Lib "user32" _

Alias "ShowWindow" (ByVal hwnd As Long, _

ByVal nCmdShow As Long) As Long




Function fSetAccessWindow(nCmdShow As Long)

Dim loX As Long

Dim loForm As Form

On Error Resume Next

loX = apiShowWindow(hWndAccessApp, nCmdShow)

Err.Clear

fSetAccessWindow = (loX <> 0)

End Function


注冊(cè)登錄窗體

Private Sub 登錄_Click()

If 賬號(hào) <> "" And 密碼 <> "" Then

? ? If Me.密碼 = DLookup("密碼", "賬號(hào)密碼表", "賬號(hào)='" & Me.賬號(hào) & "'") Then? ?'修改域函數(shù)參數(shù)

? ? ? ? MsgBox "登錄成功"

? ? ? ? DoCmd.OpenForm "系統(tǒng)主頁(yè)", acNormal, , "賬號(hào)='" & Me.賬號(hào) & "'"

? ? ? ? DoCmd.Close acForm, Me.Name

? ? Else

? ? ? ? MsgBox "賬號(hào)或密碼錯(cuò)誤"

? ? End If

Else

MsgBox "請(qǐng)輸入賬號(hào)和密碼"

End If

End Sub


Private Sub 退出_Click()

Application.Quit acQuitSaveAll

End Sub


Private Sub 注冊(cè)_Click()

If 賬號(hào) <> "" And 密碼 <> "" Then

? ? If DCount("密碼", "賬號(hào)密碼表", "賬號(hào)='" & Me.賬號(hào) & "'") > 0 Then

? ? MsgBox "該賬號(hào)已存在,請(qǐng)輸入其他賬號(hào)"

? ? Exit Sub

? ? Else

? ? DoCmd.SetWarnings (False)

? ? Dim add_sql As String

? ? add_sql = "Insert Into 賬號(hào)密碼表 (賬號(hào),密碼) Values ('" & 賬號(hào) & "','" & 密碼 & "')"

? ? DoCmd.RunSQL add_sql

? ? MsgBox "注冊(cè)成功"

? ? Exit Sub

? ? End If

Else

MsgBox "請(qǐng)輸入注冊(cè)的賬號(hào)和密碼"

End If

End Sub





【引用外部鏈接圖片】【隱藏Access后臺(tái)界面】【注冊(cè)登錄窗體】的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
筠连县| 明光市| 淮安市| 嘉峪关市| 武山县| 广宁县| 南宫市| 康保县| 香河县| 高阳县| 合水县| 崇明县| 昭觉县| 景德镇市| 和顺县| 泽普县| 海安县| 南江县| 兰溪市| 博爱县| 同江市| 嘉峪关市| 镶黄旗| 福泉市| 冕宁县| 鹤庆县| 靖宇县| 疏附县| 阜康市| 遂宁市| 隆化县| 尉氏县| 普格县| 大厂| 日喀则市| 杭州市| 调兵山市| 金门县| 县级市| 凉城县| 页游|