ORIGINAL SOURCE CODE FOR DBPwd.FRM
Made on Tuesday, Apr 8, 2003 at 9:43 AM
Option Explicit
'>>>>>>>>>>>>>>>>>>>>>>>>
'ResMe Converted To A Property: Const FORMCAPTION = "Password Required"
'ResMe Converted To A Property: Const BUTTON1 = "&OK"
'ResMe Converted To A Property: Const BUTTON2 = "&Cancel"
'ResMe Converted To A Property: Const Label1 = "&Enter database password:"
'>>>>>>>>>>>>>>>>>>>>>>>>
Public PWD As String
Private Sub cmdCancel_Click()
PWD = vbNullString
Hide
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF1 And Shift = 0 Then
DisplayTopic 2016133
End If
End Sub
Private Sub Form_Load()
'ResMe autogenerated line of code to call the initialization routine that was automatically generated.
Call frmDBPWD_Auto_Init
Me.Caption = FORMCAPTION
cmdOK.Caption = BUTTON1
cmdCancel.Caption = BUTTON2
lblLabels(0).Caption = Label1
End Sub
Private Sub cmdOK_Click()
PWD = txtPassword.Text
Hide
End Sub
Private Sub txtPassword_GotFocus()
txtPassword.SelStart = 0
txtPassword.SelLength = Len(txtPassword.Text)
End Sub
'*********************************************************************************
'** This Section Of Code Was Automatically Generated By ResMe **
'** **
'** String assignments to Constants have been converted to read-only properties **
'*********************************************************************************
'This was: Const FORMCAPTION = "Password Required"
Property Get FORMCAPTION As String
FORMCAPTION = "Password Required"
End Property
'This was: Const BUTTON1 = "&OK"
Property Get BUTTON1 As String
BUTTON1 = "&OK"
End Property
'This was: Const BUTTON2 = "&Cancel"
Property Get BUTTON2 As String
BUTTON2 = "&Cancel"
End Property
'This was: Const Label1 = "&Enter database password:"
Property Get Label1 As String
Label1 = "&Enter database password:"
End Property
Private Sub frmDBPWD_Auto_Init()
'This routine initializes all User Interface control properties on frmDBPWD.
'This section of code was automatically generated by the ResMe String Extraction Utility.
Me.Caption = "Password"
cmdCancel.Caption = "&Cancel"
cmdOK.Caption = "&OK"
lblLabels(0).Caption = "Enter database password:"
End Sub