Advertisement
Guest User

Untitled

a guest
May 4th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Private Sub Admin_DataArrival(Index As Integer, ByVal bytesTotal As Long)
  2. Dim data As String
  3.     Admin(Index).GetData data, vbString
  4.     If session = 1 Then
  5.         If data = "login" Then
  6.             Admin(Index).SendData "1112a"
  7.             session = 2
  8.         End If
  9.     End If
  10.     If session = 2 Then
  11.         AdminForm.User = data
  12.         Admin(Index).SendData "1113a"
  13.         session = 3
  14.     End If
  15.     If session = 3 Then
  16.         AdminForm.Password = data
  17.         CheckUserInfo AdminForm.User, AdminForm.Password, Admin(Index)
  18.         session = 1
  19.     End If
  20. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement