try this now : add timer1 to your form !
VB Code:
  1. Private Sub cmdSubmit_Click()
  2. ' Validate Inputs
  3.     On Error GoTo Err_Check
  4.     Dim strsql As String
  5.     strsql = "Select * FROM tblUsers Where UserName = '" & txtUserName.Text & "'"
  6.    
  7.     'Show flash movie
  8. FireTimer
  9.    
  10.     Set rst = New ADODB.Recordset
  11.    
  12.     rst.Open strsql, cnn, adOpenForwardOnly, adLockReadOnly
  13.     If Not rst.EOF And Not rst.BOF Then
  14.         If rst!Password = txtPwd.Text Then
  15.            'Stop the timer
  16.         Timer1.Enabled = False
  17.        
  18.             frmSwitch.Show
  19.             Me.Hide
  20.            
  21.         Else
  22.             flaVerify.Visible = False
  23.            
  24.             'Stop the timer
  25.             Timer1.Enabled = False
  26.            
  27.             MsgBox "Invalid Password"
  28.             cmdSubmit.Enabled = True
  29.            
  30.         End If
  31.     Else
  32.        'Stop the timer
  33.        Timer1.Enabled = False
  34.        
  35.         flaVerify.Visible = False
  36.         MsgBox "Invalid User Name"
  37.         cmdSubmit.Enabled = True
  38.     End If
  39.     rst.Close
  40. Exit_Check:
  41.     Set rst = Nothing
  42.     Exit Sub
  43. Err_Check:
  44.   MsgBox Err.Description, "Login Function"
  45.     Resume Exit_Check
  46. End Sub
  47.  
  48. Sub FireTimer()
  49. Timer1.Enabled = True
  50.     flaVerify.Visible = True
  51.     cmdSubmit.Enabled = False
  52. End Sub
  53. Private Sub Form_Load()
  54. Timer1.Interval = 3000
  55. Timer1.Enabled = False
  56. End Sub