JMongi
Active member
- Local time
- Today, 01:44
- Joined
- Jan 6, 2021
- Messages
- 802
I'm working on integrating isladgos login download into my operations database. There are a few minor questions I have. I tried searching and didn't find them answered.
1. Looking at the Click Event code for the Log-In button, that opens the included "frmSessions" form. I presume this is just a placeholder for my main operations screen/form and I should substitute the form load here.
2. In the "frmLogin" form there is a sub called "Form_Timer". I'm not sure exactly what it's purpose is. Aside from that there is a comment "Normally this would connect to a BE file." I'm not sure how to connect this to my BE? Here is the code:
3. It is recommended that the RC4 cipher be encrypted via a different method. It is stored as public constant in the encryption module. I'm not really certain how to go about encrypting this cipher via a different method. I would like to, just need some guidance.
I think that covers my current questions.
1. Looking at the Click Event code for the Log-In button, that opens the included "frmSessions" form. I presume this is just a placeholder for my main operations screen/form and I should substitute the form load here.
2. In the "frmLogin" form there is a sub called "Form_Timer". I'm not sure exactly what it's purpose is. Aside from that there is a comment "Normally this would connect to a BE file." I'm not sure how to connect this to my BE? Here is the code:
Code:
Private Sub Form_Timer()
'Normally this would connect to a BE file
'As this is a demo it is using a self contained ACCDB file
On Error GoTo Err_Handler
If Repeat = False Then
' Me.TimerInterval = 0
'Call RefreshLinks
Repeat = True
Else
'Get first character
Dim FChar As String
FChar = Left(Me.lblMarquee.Caption, 1)
'Remove first character
Me.lblMarquee.Caption = Mid$(Me.lblMarquee.Caption, 2, Len(Me.lblMarquee.Caption) - 1)
'Put 1st character at the end of the message.
Me.lblMarquee.Caption = Me.lblMarquee.Caption + FChar
End If
Exit_Handler:
Exit Sub
Err_Handler:
MsgBox "Error " & Err.Number & " in Form_Timer procedure: " & Err.Description
Resume Exit_Handler
End Sub
3. It is recommended that the RC4 cipher be encrypted via a different method. It is stored as public constant in the encryption module. I'm not really certain how to go about encrypting this cipher via a different method. I would like to, just need some guidance.
I think that covers my current questions.