VERSION 5.00
Begin VB.Form Form1 
   BorderStyle     =   4  'Fixed ToolWindow
   Caption         =   "Time Clock"
   ClientHeight    =   1605
   ClientLeft      =   45
   ClientTop       =   315
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1605
   ScaleWidth      =   4680
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdClockout 
      Caption         =   "Clock &Out"
      Height          =   405
      Left            =   2610
      TabIndex        =   3
      Top             =   675
      Width           =   1920
   End
   Begin VB.CommandButton cmdClockIn 
      Caption         =   "Clock &In"
      Height          =   405
      Left            =   120
      TabIndex        =   1
      Top             =   675
      Width           =   1920
   End
   Begin VB.Label lblStatus 
      Appearance      =   0  'Flat
      BorderStyle     =   1  'Fixed Single
      Caption         =   "#"
      ForeColor       =   &H80000008&
      Height          =   255
      Left            =   60
      TabIndex        =   2
      Top             =   1215
      Width           =   4485
   End
   Begin VB.Label lblTime 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "#"
      Height          =   195
      Left            =   195
      TabIndex        =   0
      Top             =   165
      Width           =   105
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdClockIn_Click()
lblTime.Caption = Time()

lblStatus.Caption = " Clock in time: " & lblTime.Caption
cmdClockIn.Enabled = False
cmdClockout.Enabled = True
End Sub

Private Sub cmdClockout_Click()
lblTime.Caption = Time()

lblStatus.Caption = lblTime.Caption
lblStatus.Caption = " Clock out time: " & lblTime.Caption

cmdClockout.Enabled = False
End Sub

Private Sub Form_Load()
lblTime.Caption = vbNullString
lblStatus.Caption = vbNullString
cmdClockout.Enabled = False
End Sub
