VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form AdminAccess 
   BackColor       =   &H00FFFFFF&
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "State Bank Of India - Administrator Access ( Authorized )"
   ClientHeight    =   7440
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   11760
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   7440
   ScaleWidth      =   11760
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin MSComctlLib.ListView ListView 
      Height          =   6135
      Left            =   0
      TabIndex        =   1
      Top             =   1320
      Width           =   11775
      _ExtentX        =   20770
      _ExtentY        =   10821
      View            =   3
      LabelWrap       =   -1  'True
      HideSelection   =   -1  'True
      FullRowSelect   =   -1  'True
      GridLines       =   -1  'True
      HotTracking     =   -1  'True
      HoverSelection  =   -1  'True
      _Version        =   393217
      ForeColor       =   -2147483640
      BackColor       =   -2147483643
      BorderStyle     =   1
      Appearance      =   1
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Palatino Linotype"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      MouseIcon       =   "AdminAccess.frx":0000
      NumItems        =   6
      BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         Text            =   "User Name"
         Object.Width           =   2540
      EndProperty
      BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   1
         Text            =   "Address"
         Object.Width           =   5733
      EndProperty
      BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   2
         Text            =   "Contact"
         Object.Width           =   5292
      EndProperty
      BeginProperty ColumnHeader(4) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   3
         Text            =   "A/C Number"
         Object.Width           =   2540
      EndProperty
      BeginProperty ColumnHeader(5) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   4
         Text            =   "PIN"
         Object.Width           =   2540
      EndProperty
      BeginProperty ColumnHeader(6) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   5
         Text            =   "Cash ( Rs.)"
         Object.Width           =   2646
      EndProperty
   End
   Begin VB.Label Label1 
      BackColor       =   &H000080FF&
      Height          =   1335
      Left            =   1080
      TabIndex        =   0
      Top             =   0
      Width           =   1095
   End
   Begin VB.Image Image1 
      Height          =   990
      Left            =   4320
      Picture         =   "AdminAccess.frx":031A
      Top             =   120
      Width           =   3540
   End
End
Attribute VB_Name = "AdminAccess"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Form_Load()
Load_Entries
End Sub
Sub Load_Entries()
ListView.ListItems.Clear
Set rsAdmin = New ADODB.Recordset
rsAdmin.Open "Select * from tblUser", CON, adOpenStatic, adLockPessimistic
With rsAdmin
    While Not .EOF
                Dim LS As ListItem
                Set LS = ListView.ListItems.Add(, , rsAdmin!UserName)
                    LS.SubItems(1) = rsAdmin!Address
                    LS.SubItems(2) = rsAdmin!Contact
                    LS.SubItems(3) = rsAdmin!ACNumber
                    LS.SubItems(4) = rsAdmin!PIN
                    LS.SubItems(5) = rsAdmin!Cash
        .MoveNext
    Wend
    End With
End Sub

