Hello, I am working on a Login Console that has a Correct and Incorrect Image, that appears when the username and the password is totally correct. I can make them come up in their first execution, eg: frmLog.Show vbModal, however I cannot make them disappear, when the Form is frmLog.Hide, however they are able to appear but then not disappear when the Form is also unloaded from the execution. This really doesn't sound right, so then I am sending it to this Forum for some help in this matter at hand...
Below in the CODE tags is the Source Code that I am working on and then nothing has been removed from this handler, so then you can see exactly what it contains for analysis...
!! Thanks in advance !!
Below in the CODE tags is the Source Code that I am working on and then nothing has been removed from this handler, so then you can see exactly what it contains for analysis...
Code:
Public Sub Form_Unload(Cancel As Integer)
Cancel = 1
With frmLog
.Hide
.Text2.Text = ""
End With
If frmLog.picBox_Fail.Visible = True Then frmLog.picBox_Fail.Visible = False
If frmLog.picBox_Success.Visible = True Then frmLog.picBox_Success.Visible = False
End Sub