VERSION 5.00
Object = "{0C8DE9F2-EAFC-44DF-A13F-B5A9B36ED780}#2.0#0"; "lvButton.ocx"
Begin VB.Form Admin 
   BackColor       =   &H00FFFFFF&
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "State Bank Of India - Administrative Access"
   ClientHeight    =   3885
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   7605
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3885
   ScaleWidth      =   7605
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.TextBox txtName 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "Palatino Linotype"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      IMEMode         =   3  'DISABLE
      Left            =   4440
      PasswordChar    =   "*"
      TabIndex        =   0
      Top             =   1800
      Width           =   3015
   End
   Begin VB.TextBox txtPassword 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "Palatino Linotype"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      IMEMode         =   3  'DISABLE
      Left            =   4440
      PasswordChar    =   "*"
      TabIndex        =   1
      Top             =   2520
      Width           =   3015
   End
   Begin lvButton.lvButtons_H cmdConnect 
      Height          =   375
      Left            =   3840
      TabIndex        =   2
      Top             =   3240
      Width           =   2655
      _ExtentX        =   4683
      _ExtentY        =   661
      Caption         =   "&Connect"
      CapAlign        =   2
      BackStyle       =   2
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Times New Roman"
         Size            =   11.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      cGradient       =   0
      Mode            =   0
      Value           =   0   'False
      cBack           =   -2147483633
   End
   Begin VB.Image Image2 
      Height          =   720
      Left            =   2040
      Picture         =   "AdminLogIN.frx":0000
      Top             =   3000
      Width           =   720
   End
   Begin VB.Image Image1 
      Height          =   2175
      Left            =   360
      Picture         =   "AdminLogIN.frx":0F3F
      Stretch         =   -1  'True
      Top             =   1440
      Width           =   1935
   End
   Begin VB.Image SBI_Logo 
      Height          =   1050
      Left            =   2520
      Picture         =   "AdminLogIN.frx":49A3
      Top             =   120
      Width           =   3030
   End
   Begin VB.Label Label11 
      BackColor       =   &H000080FF&
      Height          =   135
      Left            =   0
      TabIndex        =   5
      Top             =   1200
      Width           =   10110
   End
   Begin VB.Label lblName 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "User Name"
      BeginProperty Font 
         Name            =   "Palatino Linotype"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   390
      Left            =   2640
      TabIndex        =   4
      Top             =   1800
      Width           =   1665
   End
   Begin VB.Label lblPassword 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "Password"
      BeginProperty Font 
         Name            =   "Palatino Linotype"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   390
      Left            =   2640
      TabIndex        =   3
      Top             =   2520
      Width           =   1200
   End
   Begin VB.Label Label1 
      BackColor       =   &H000080FF&
      Height          =   1335
      Left            =   600
      TabIndex        =   6
      Top             =   0
      Width           =   855
   End
End
Attribute VB_Name = "Admin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdConnect_Click()
If txtName.Text = "king" And txtPassword.Text = "king" Then
    Unload Me
    AdminAccess.Show 1
    
Else
    MsgBox "Unauthorized Access!!!", vbExclamation, "Administrative Access"
    txtName.Text = ""
    txtPassword.Text = ""
    txtName.SetFocus
End If
End Sub
