This action might not be possible to undo. Are you sure you want to continue?
AMADI QUEEN NGOZI DSPT/COE/1011/8706
OBRKI GABRIEL DSPT/COE/1011/8555
CHUWUJI MESACH DSPT/COE/1011/8716
DEPARTMENT OF COMPUTER ENGINEERING DELTA STATE POLYTECNIC OTEFE OGHARA 2012
STUDENT ATTENDANCE MANAGEMENT SYSTEM PRESENTED BY
AMADI QUEEN NGOZI DSPT/COE/1011/8706 OBRKI GABRIEL DSPT/COE/1011/8555 CHUWUJI MESACH DSPT/COE/1011/8716 DEPARTMENT OF COMPUTER ENGINEERING DELTA STATE POLYTECNIC OTEFE OGHARA A PROJECT PRESENTED TO THE SCHOOL OF ENGINEERING, DEPARTMENT OF COMPUTER.DELTA STATE POLYTECHNIC, OTEFE OGHARA IN FULFILLMENT OF THE REQUIREMENT FOR THE AWARD OF NATIONAL DIPLOMA CERTIFICATE IN COMPUTER ENGINEERING 2012
We hereby declare that this project is our original work and it has not been submitted to any institution for the award of any diploma or degree which here applicable to the best of our knowledge.
AMADI QUEEN NGOZI
DEDICATION This project is dedicated to God Almighty for giving us the grace, courage and strength to complete our national diploma program.
CERTIFICATION I here by certify that the work was carried out by AMADI QUEEN NGOZI, OBRIKI GABRIEL, CHUKWUJI MESHACH of the department of computer engineering, school of engineering, Delta State Polytechnic, Otefe-Oghara, under my supervision.
ENGR. DAVID.E.OKENE (PROJECT SUPERVISOR)
MR. ENEKPERE.V (H.O.D)
it is object oriented and its availability of debugging tools. with the advent of the computerized attendance management system. Computer based attendance system provide efficient means of determining eligibility criteria for students to meet examination requirements. computerization of attendance management system aimed at its incorporating a computer based system in processing attendance of student at promoting speed of operations and accuracy of result. Hence.net used as front-end and Microsoft access used at the back-end. In the overview. this project looks at the existing system of student attendance management and attempt to covert the process from manual to a computerized one in order to reduce the time spent on manual operations to eradicate errors and time consumptions.ABSTRACT This project is absolutely on the computer-based attendance management system. Visual basic . The programming language used for this project work is visual basic . it was used because it is easy to manage. 6 .net . problems associated with the manual processing of student attendance will be alleviated to its minimum level. Now.
ACKNOWLEDGEMENT With profound gratitude to God Almighty that sustained us to successfully complete project as well as our academic program. “Learning is a treasure which accompanies its owner everywhere” this is true. our project supervisor Mr. elderly. guardian and sponsors for their love. in that the best legacy parents can leave behind for their child is “Education. active and sincere advice during the period of the project.” Our sincere appreciation goes to our beloved parents. our utmost thanks and profound gratitude goes to the entire lecturers in computer engineering department with special regards to the head of department. moral contribution and financial assistance given to us during the course of our academic program. David Ese Okene for his fatherly. Finally. 7 .
.....TABLE OF CONTENT TITLE……………………………………………. III CERTIFICATION……………………………. IV ACKNOWLEDGEMENT ……………………..1 1... AIMS AND OBJECTIVE……………………………..... V ABSTRACT…………………………………….3 1.. OVERVIEW…………………………………………… LIMITATION OF THE STUDY.........5 1......4 1. SCOPE OF THE STUDY……………………………. 8 .. I DECLARATION………………………………… II DEDICATION …………………………….....2 1..6 BACKGROUND OF THE STUDY………………….... VI TABLE OF CONTENTS ……………………… VII CHAPTER ONE INTRODUCTION 1......... DEFINITION OF TERMS…………………………….…....
4 2. PORTABILITY……………………………………….5 3. WORKING OF THE PRESENT SYSTEM………… PROPOSED SYSTEM……………………………..0 3.4 3. CHAPTER THREE 3.7 METHODOLOGY………………………………….3 2. DATA PROCESSING SYSTEM…………………… INFORMATION SYSTEM CAPABILITIES……….. SOFTWARE ENGINEERING MODEL…………….1 3. SYSTEM REQUIREMENT SPECIFICATION (S.6 3.CHAPTER TWO 2.. DATA FLOW DIAGRAM (DFD)…………………. STUDENT INFO.3 3.S) DESIGN AND DEVELOPMENT…………………… MAINTENABILITY………………………………….5 LITERATURE REVIEW………………………….0 2. USE CASE DIAGRAM………………………………… 9 .2 2.2 3..R. MAINTENANCE……………….1 2.
APPENDIX 2……………………………………………………………….0 4. CONCLUSION……………………………………………………. SUMMARY………………………………………………………...1 4.3 SUMMARY. CONCLUSION AND RECOMMENDATION……. RECOMMENDATION……………………………………………… REFRENCES………………………………………………………………. 10 .CHAPTER FOUR 4.2 4. APPENDIX 1……………………………………………………………….
colleges and institutes. In short. Hence the introduction of computer is one of the greatest challenges facing man today. the world is now witnessing an easy way to keep information / data. Since ages. The software system also helps in evaluating the examination eligibility criteria for a student in the sense that only those students with attendance above 11 . which will be provided by the lecturer for a particular class. The information is sorted by the operators. Attendance Management System is software developed for daily student attendance in schools.CHAPTER ONE 1. It facilitates to access the attendance information of a particular student in a particular class. school etc. This system will also help in evaluating attendance eligibility criteria of a student. especially with the computer technology. With the advent of new technology.1 BACKGROUND OF THE STUDY The world itself has become a global village of technology today. attendance system has remained one of the most important systems for evaluating the working time of students in any college or school. this project is used to mark the number of days present/absent in any academic year of students in a college.0 INTRODUCTION 1.
In schools. due to the large number of students. 1. attendance is important and mandatory. it is efficient to use attendance management system to manage attendance in schools. The purpose of developing this attendance management system is to computerize the traditional way of taking attendance in classes and also manage student information along with their classes and subjects.-in between the semester or after the semester. Another purpose for developing the software is to generate the reports automatically whenever required. And this system will also help in evaluating attendance eligibility criteria of a student. 1.75% are allowed to sit for the semester exams.2 AIMS AND OBJECTIVES This report describes the capabilities that will be provided by the Software application “Student Attendance Management System”.3 SCOPE OF THE STUDY This project involves the design of computer software which is capable of taking attendance record of students for a particular course with the aim/ purpose of determining their eligibility to sit for the exam. Another striking feature about 12 . Nowadays.
13 . generating report. User has a right of making daily attendance. which has right for creating space for new batch.) v Second module is handled by the user (sub-admin) which can be a faculty or an operator.the program is. and sending notice. (Any entry of new faculty.NET MS ACCESS 1. it has the capability of sending the attendance records in the form of an email to the parents / guardian of the student. updating subject if necessary. Technology Used Language:Backend:System Requirement: Minimum RAM:Hard Disk:Processor:Operating System:256 MB 40 GB Intel Pentium 4 Windows XP Service Pack2 VB.4 OVERVIEW Attendance Management System basically has two main modules for proper functioning: v First module is the admin.
Which the modification is supposed to send the attendance at the end of the year and student assessments of the session to the E-mail address of their parents /guardian.Attendance can be taken. that can accept raw fact or data through an input device like the keyboard or mouse: stores .6 DEFINITION OF TERMS 1. v On the basis of Class (Subject and Week) 1. 1.5 LIMITATION OF THE STUDY It is offline software. 14 . processes the data in the system unit using a particular program and finally supplying the result of information through an output device such as monitor in the form of pictures or texts on the scrren called the soft copy or a printer in form of printed paper called the hard copy. COMPUTER: A computer can be finely defined as an automatic electronic machine.
and its daily transactions. DATABASE: Are not merely collections of files. rather the database is a centre source of data meant to be shared by many users for a variety of applications. Also. 5. 15 . 3. 7. Data are also facts about an organisation or instituiton. It is also an organised collection of people. INFORMATION: These are data that has been processed and is meaningful to the end user. attendance is used to define the number of person present at a particular day of an event or an institution.2. DATA: This ia raw material/ facts that has not been processed. ATTENDANCE: This is an act or fact of attending (being present at) work or institution. machine and method required to accomplished a set of specific functions. 6. SYSTEM: A system is a group of inter-related components working together towards a common goal by accepting input and producing output in an organised transformation process. 4. It is the art of using computer system to carry out task. COMPUTER-BASED: It is also referred to as computerized.
9. sometimes referred to as “version” is a major revision of the previous versions. net. a program is referred to. visual c++. visual basic 6. Visual studio . 16 . the new language c# (c sharp) and the .net includes.net framework.0. VISUAL BASIC: Is an object oriented programming development system for creating application that run under any of the microsoft windows environment. as a project. In visual basic. MICROSOFT VISUAL STUDIO: The latest version of microsoft visual studio called visual studio .8.
0 LITERATURE REVIEW According to Cobuild learners dictionary “Attendance is the fact that someone is present at an event or go regularly to an institution. stores. instructions and output reports. An information system includes inputs (data. if someone is in attendance of a place or event. they are present.CHAPTER TWO 2.” According to Turban Mclean. Wetherbe (1998) from their book “Information Technology For Management”. analyses and disseminate information for a specific purpose. like any other system. processes. Furthermore. calculation). it was stated that the term “information system” is a collection of component that collects. or the attendance at an event is the number of people who are present at it. 17 .
store it and output useful information as technological society becomes more complex.According to A.N Aniekwu and Jone Akpodvado (1999) from their book “fundamental of practical computer” a computer is a machine that performs calculation and processes automatically at high speed according to prescribed sequence of operations to an electronic machine also to one of a mechanic. production e. Geoffrey K.c in database.D (2002) “Operate Your Computer” asserts that computer are electronic devices that can be programmed to accept (input). C.t. Aghawra E. a record contains information about one person. Nick W. output. Larry long and Nancy long (1993) “Computer” computer is able of interpreting and executing programmed command for input.S French (1996) in his book “Computer Science” asserts that a record is information relating to one person. program the input. Paul C and John E (1987) added that computer system consist of individual element working together with the common aim of processing data > process > information. 18 . analogue or other variety. computation and logic operations.
information needs that are not already built into the system. Attendance Management System facilitates the attendance information of a particular student in a particular class. which will be provided by the lecturer for a particular class.Akin Fapohide (2005) says that. 2. Data are entered and stored in a file format. they are flexible and control/ accommodates data. The major drawback of data processing system is that. computer is a machine that follows instructions in order to process data. solve specific problem or accomplished task is referred to as program. This system will also help in evaluating eligibility criteria of a student to sit for an examination. handling and record keeping. The information is sorted by the operators. usually for a particular functional area. the stored files are updated during routine processing. 19 .1 DATA PROCESSING SYSTEM Data processing system are conned with the transaction.
Information system has four capabilities as a computer system. 20 .2. Disadvantages of Present Working System v Not User Friendly: The existing system is not user friendly because the retrieval of data is very slow and data is not maintained efficiently. peoples procedure for an information system. application of payroll system. At the end of session the students who don’t have 75% attendance get a notice. software . 2. A computer based information system provides an organization with data processing. The whole session attendance is stored in register and at the end of the session the reports are generated. registration combination of hardware.3 WORKING OF PRESENT SYSTEM In the present system all work is done on paper. processing. example includes.2 INFORMATION SYSTEM CAPABILITIES Information system includes all use of computer that support administrative aspect of an organization. storage and output. which includes the following: input. We are not interested in generating report in the middle of the session or as per the requirement because it takes more time in calculation. hospital patient bill system. registration system.
2. is done manually so there is greater chance of errors. Loss of even a single register/record led to difficult situation because all the papers are needed to generate the reports. v Manual control: All calculations to generate report. v Lots of paperwork: Existing system requires lot of paper work. Moreover. It also generates periodic reports to keep a check on the students who are regular & who are not. This is because majority of the records are stored as statements or in registers. It also enhances the speed of performing attendance task easily.4 PROPOSED SYSTEM This Application is built for automating the processing of attendance. these data can be accessed by anyone and even they can modify any important data. v Time consuming: Every work is done manually so we cannot generate report in the middle of the session or as per the requirement because it is very time consuming. 21 .v Difficulty in report generating: We require more calculations to generate the report so it is generated at the end of the session and the student does not get a single chance to improve their attendance. v Less security: Security of data is less in manual systems.
Characteristics of the proposed systemv User Friendly:-The proposed system is user friendly because the retrieval and storing of data is fast and data is maintained. So this will display the list of the students who are eligible to appear in this session.The Admin has to login to the system & then in the attendance option they have to select appropriate class. This will add the selected students as present student in that particular session.Reports can be easily generated in the proposed system so user can generate the report as per the requirement 22 . because they can generate various types of reports and submit them to respective department also or also can be submitted to the College Coordinator. Now the admin has to just select the students name from the manual attendance sheet according to their roll number and then submit the sheet. v Reports are easily generated:. This system is very useful to the office.Moreover the graphical user interface is provided in the proposed system. v Efficiently:. There are various kinds of reports can be generated. Office staff can also generate black list of students who have Attendance less than 50% to 75%. which provides user to deal with the system very easily. semester and subject.
Moreover storing and retrieving of information is easy. v Computer operator control:.5 DATA FLOW DIAGRAM:A data flow diagram (DFD) is a graphical representation of the "flow" of data through an information system. 2.The proposed system requires very less paper work. a modular design was developed by Larry Constrains. The DFD is a way of expressing the system in a graphical format. So work can be done speedily and in time. All the data is feted into the computer immediately and reports can be generated through computers. User can give the notice to the students so he/she become regular. v Provision of Employment. 23 . It differs from the system flowchart as it shows the flow of data through processes instead of hardware. This DFD is also known as “Bubble Chart” has the purpose to classify the system requirement and to identify the major information that will be a program in system design.(monthly) or in the middle of the session. v Very less paper work:.Computer operator control will be there so no chance of errors. Moreover work becomes very easy because there is no need to keep data on papers.
software. data structure or file organization. OVERALL DATA FLOW CHAT DIAGRAM PROCESS START/STOP DATABASE 24 . DFD consist of a series of symbols joined together by a line.A Data Flow Diagram is logical model of the system and shows the flow of the data and the flow of logic so this all thing describes what takes place in a proposed system. so it means the DFD doesn’t depend on the hardware. We have noted that the DFD describes what the flow is rather then how they are processed. not how the activities are accomplished.
DECISION CONNECTOR INPUT CHAPTER THREE 3. the Lecturers engaging different classes are required to submit the attendance of the students present in their class regularly. Head of Departments. Detailed guidelines for its use are under. In this.1 STUDENT INFO MAINTENANCE 25 .0 METHODOLOGY Student Attendance Management System has been developed in Institute for computerized attendance submission and it’s monitoring by Lecturers. Teachers will submit their attendance through this Student Attendance Management System. Students/Guardians also have access to view their attendance. Dean Academic Affairs and Director. 3.
any entry of new faculty. A common mistake is to consider "iterative" and "incremental" as synonyms. allowing software 26 . 3. modification.The system will maintain information about various students enrolled in the course in different years. • Second module is handled by the sub-admin which can be a faculty or an operator. updating a subject if necessary. and also the ability to list all the students enrolled in a particular year. User has a right of making daily attendance. The system will also allow creation. which they are not.2 SOFTWARE ENGINEERING MODEL The model employed to materialize the Student Attendance Management System is the iterative waterfall model. Admission year. The following information will be maintained for each student: Student name. Level. Attendance Management System basically has two main modules for proper functioning: • First module is admin which has right for creating space for new batch. In software (systems development). Matriculation number. and sending notice. generating report. deletion of new and existing students’ info by the Operator. The basic idea is to develop a system through repeated cycles (iterative) and in smaller portions at a time (incremental).
The goal for this initial implementation is to create a product to which the user can react. At each iteration.NET MS-Access System Requirement:Minimum RAM:.developers to take advantage of what was learned during development of earlier parts or versions of the system. and the Project Control List. where possible key steps in the process start with a simple implementation of a subset of the software requirements. design modifications are made and new functional capabilities are added. Technology Used:Language:Backend:VB. The initialization step creates a base version of the system. iteratively enhance the evolving versions until the full system is implemented.256 MB Hard Disk:Processor:40 GB Intel Pentium 4 27 . It should offer a sampling of the key aspects of the problem and provide a solution that is simple enough to understand and implement easily. Learning comes from both the development and use of the system. the iteration step. The procedure itself consists of the initialization step.
The third module of the project allows the students to log into the system and view their current attendance statistics.3 SYSTEM REQUIREMENT SPECIFICATION (S.R.1 Functional Requirements The functional requirement of the project is defined under three modules. The first module allows the system Administrator(admin) to log into his account and has the privileges to do multiple things some of the include adding new student.S. No other privileges are given to the student. The second module of the project defines itself in terms of being used by the subadmin (Lecturers) Lecturer have to enter their login id and Password in system. modifying student information and modifying student information. 28 .3.) 3. also there is a provision to change login password. After that the id is verified and the records of Student of particular semester are displayed on the screen.Operating System:-Windows XP Service Pack2 3. Lecturer now mark the attendance of student who is present in class. deleting of student and sub admin. lecturer can also change their password.
2 Non-Functional Requirements:v Hardware requirementsHardware Interface 1: The system should be embedded in the PC/Laptop.3. v Software requirementSoftware Interface: Student Attendance management System. Hardware Interface 2: 40 GB hard disk and 256 MB RAM. 29 .3.
30 .4. sub-admin or Student.4 3.FLOW CHART Start Stud login Yes Enter Uname and pwd Uname and pwd in dbase No Yes No Admin Yes login Enter admin Uname and pwd Uname and pwd in dbase Display stud record No Yes Display admin Page 3.1 DESIGN AND DEVELOPMENT Design of Project:- GUI 1: Main provides the basic navigation access to the user allowing him to choose his login type as Administrator.
and user accounts info and reports generation). 3. 3. 3. student attendance info.5 MAINTAINABILITY The application will be designed in a maintainable manner.GUI 2: Based on the users’ selection on the first screen he is navigated to the other screen on the basis of selection he/she made.6 PORTABILITY The application will be easily portable on any windows-based system that has MS Access 2000 installed.7 USE CASE DIAGRAM:- A use case diagram in the Unified Modeling Language (UML) is a type of behavioral diagram defined by and created from a Use-case analysis. GUI 3: This screen is the users main work area from the navigation menu the user selects for the operation to be performed and is taken to the respective domain of the project.e. student info. It will be easy to Incorporate new requirements in the individual modules (i. Its purpose is 31 .
The main purpose of a use case diagram is to show what system functions are performed. Use Case diagrams are formally included in two modeling languages defined by the OMG: the Unified Modeling Language (UML) and the Systems Modeling Language (SysML).to present a graphical overview of the functionality provided by a system in terms of actors. their goals (represented as use cases). and any dependencies between those use cases. 32 . Roles in the system can be depicted.
Showing Use case Diagram 33 .Fig.
1 SUMMARY From all discussions or ideas that have been considered in this write-up about a student attendance management system.net. From the tests performed on the new system\design it will improve on the overall performance on the management of 35 .0 SUMMARY.CHAPTER FOUR 4. 4. The system has reached a steady state where all bugs have been eliminated. RECOMMENDATION AND CONCLUSION 4. The system is designed using any preferred or assigned programming software: visual basic .2 CONCLUSION The Attendance Management System is developed using Visual Basic. it can be seen that the project is automated attendance system.NET. When the data entry officer enters a data of a student attendance. it fully meets the objectives of the system for which it has been developed. the automated attendance gives a percent in the continuous assessment of the student. The system is operated at a high level of efficiency and all the lecturers and users associated with the system understand its advantage. as result are being accessed.
The present system(manual) has been seen to be error prone. It is a process which involves individual. editing. 4. Furthermore. I recommend that the new system based on the study should be put in place immediately. The computerization of the attendance system has brought about faster access and easier method of viewing. thus the system solves the problem that it was intended to solve.3 RECOMMENDATION This study is based on the computerization of the attendance management system . computerization of attendance system is not just a matter of technological innovation and development. It should be noted that the computer is a machine that 36 .students attendance. printing (documentation) of student attendance record. ineffective and time consuming which sometimes give rise to incorrect attendance information then this will at the long run(semester end or examination period) affect decision making of the department or institution. organization and society in general. Proper staff training should also be affected so that skilled person will be available to use the computerized system. when the new system has been fully tested and found reliable.
gives you the result of what you put in (garbage in garbage out). Proper care should be taken to prevent incorrect input of data. 37 .
com(01/09/2012) www.0.E. Glencoe / Mc Grawatt.USA Julia Case Bradley (1998): Programming In Visual Basic.com (27/08/2012) 38 . New York. Pearson Education (Singapore) P. Millsspaugh (2002).0 Brief Course. Glencoe / Mc Grawatt.K Phil Feldman (1993): Using Visual Basic 3. Canada. U. Millspaugh (2010): Programming in Visual Basic . New York.T.Ewing. Mc Graw Hill Companies Limited. Gottfried. United State (U.A Steven Holzru (2000) : Visual Basic 6. David P. George wertherman. Mc Graw-Hill. Anita C.S.0 Complete Course.A) Mark I Marpet (1999) Visual Basic 6. Carl Franklin (1999): Visual Basic 6.S. New Delhi 110002 Deitel and Deitel T.0.R Nieto (2002): Visual Studio Series. U. Anita C. Internet Programming Robert Ispen. New York.0 Programming Indian Dreamtech Press. Bruce Smith Books Limited.0.S.A Julia Case Bradley (1996): Programming In Visual Basic 4.microsoft. U. programming in visual basic 6. Ian Sinclair (1994): Visual Basic Beginners. Tata Mc Graw-Hill Publishing Company Limited. Ltd Indian Branch.com(03/09/2012) www.w3schools. Julia Case Bradley. Bryon S.Net. (2001): Programming With Visual Basic.dotnetspider. www. Dulanley Emmett (2000): Visual Basic 6.REFERENCES Julia Case Bradley.
com (15/07/2012) APPENDIX 1 PROGRAM CODES 39 .google.www.
Forms. ByVal e As System.Show() Me.Empty Then MessageBox.Show() Me.Clear() End If End Sub Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Windows.Focus() Else cnstring = "Provider=Microsoft.Click If ComboBox1.Data Imports System.Text = "" TextBox1.Text = "" Then MessageBox.mdb" cn = New OleDbConnection(cnstring) cn. cn As OleDbConnection.Object.Text = String. cn) cmd.OleDb Public Class Form1 Public cmd As OleDbCommand. "Student Login") student.Text & "' and MatricNo='" & TextBox1.Show("Login Suxe4". "Student Login") TextBox1. cnstring As String Private Sub Button1_Click(ByVal sender As System.Imports System.Jet.Show("Select Username Please".ExecuteNonQuery() MessageBox. ByVal e As System.Oledb.Hide() ComboBox1. sql As String. "Student Login") ElseIf TextBox1.Open() sql = "Select* from student where TYPE='" & ComboBox1. Data Source=C:\Users\Undisputed\Documents\Visual Studio 2008\Projects\Attendance\Attendance.0.Show("Invalid password".LinkLabelLinkClickedEventArgs) Handles LinkLabel1.4.Hide() End Sub 40 .EventArgs) Handles Button1.Text & "'" cmd = New OleDbCommand(sql.Object.Data.LinkClicked admin.
4.Dispose() End Sub End Class Admin Login Imports System.Hide() Else cnstring = "Provider=Microsoft. "Administrator Login") subadminpage.Open() sql = "Select* from login where Uname='" & ComboBox1.EventArgs) Handles Button2.Show("Login Suxe4".Text & "' and password='" & TextBox1.EventArgs) Handles Button1.Data Imports System.OleDb Public Class admin Public cmd As OleDbCommand.Oledb.Text = "Computer" Then MessageBox. ByVal e As System.Show("Select Username Please". "Student Lgin") TextBox1.Private Sub Button2_Click(ByVal sender As System.Object.Text = "HOD (Admin)" And TextBox1.Text & "'" cmd = New OleDbCommand(sql. cn) cmd.Click Me. sql As String.Empty Then MessageBox. "Admin Login") adminpage.ExecuteNonQuery() MessageBox.Hide() 41 .Show() Me.mdb" cn = New OleDbConnection(cnstring) cn.Text = "" Then MessageBox.Data.Text. "Student Login") ElseIf TextBox1. cnstring As String Private Sub Button1_Click(ByVal sender As System. cn As OleDbConnection.Jet.Object.0.Focus() ElseIf ComboBox1.Show("Welcome " & ComboBox1. Data Source=C:\Users\Undisputed\Documents\Visual Studio 2008\Projects\Attendance\Attendance.Show() Me.Show("Invalid password".Text = String.Click If ComboBox1. ByVal e As System.
ByVal e As System.student) End Sub Private Sub CreateSubAdminToolStripMenuItem_Click(ByVal sender As System.Text = "" TextBox1. ByVal e As System.Click creatadmin.Show() Me.Object.Fill(Me.showdialog() End Sub Private Sub DeleteSubAdminToolStripMenuItem_Click(ByVal sender As System.Load 'TODO: This line of code loads data into the 'AttendanceDataSet1. ByVal e As System. as needed.EventArgs) Handles MyBase.StudentTableAdapter.Click 42 .student' table. or remove it. ByVal e As System.Object.EventArgs) Handles DeleteSubAdminToolStripMenuItem.Object.showdialog() End Sub Private Sub LogoutToolStripMenuItem_Click(ByVal sender As System.AttendanceDataSet1.Object.ComboBox1.EventArgs) Handles CreateSubAdminToolStripMenuItem. ByVal e As System.Click Form1.Clear() End If End Sub End Class Admin Page Public Class adminpage Private Sub adminpage_Load(ByVal sender As System.Hide() End Sub Private Sub CreateStudentToolStripMenuItem_Click(ByVal sender As System. You can move.EventArgs) Handles LogoutToolStripMenuItem.EventArgs) Handles CreateStudentToolStripMenuItem.Object.Click deleteadmin. Me.
Object.Data Imports System. ByVal e As System.showdialog() End Sub End Class Student Page Public Class student Private Sub student_Load(ByVal sender As System.Object.EventArgs) Handles EditStudentListToolStripMenuItem.Hide() End Sub End Class Add Student Page Imports System. ByVal e As System.Load 'TODO: This line of code loads data into the 'AttendanceDataSet. ByVal e As System.showdialog() End Sub Private Sub EditStudentListToolStripMenuItem_Click(ByVal sender As System.EventArgs) Handles MyBase. as needed. or remove it. ByVal e As System.EventArgs) Handles DeleteStudentToolStripMenuItem.student) End Sub Private Sub Button1_Click(ByVal sender As System.addstud.Click Updatestud.Object.Data.OleDb Public Class addstud 43 .Show() Me.EventArgs) Handles Button1.Fill(Me.Click Form1.Click deletestud.Object.AttendanceDataSet.StudentTableAdapter.showdialog() End Sub Private Sub DeleteStudentToolStripMenuItem_Click(ByVal sender As System.student' table. You can move. Me.
sql As String. Data Source=C:\Users\Undisputed\Documents\Visual Studio 2008\Projects\Attendance\Attendance.Show("Invalid password".'" & TextBox2.Object. cn As OleDbConnection.Object.Data.Show("Enter Fullname Please".Empty Then MessageBox.Text & "')" cmd = New OleDbCommand(sql.0.Data Imports System.Text = String.Text = String. cnstring As String Private Sub Button1_Click(ByVal sender As System.Text = String.Empty Then MessageBox.Show("Student Suxe4 Created".Open() sql = "Insert into student(FullName.EventArgs) Handles Button1. cnstring As String Private Sub Button1_Click(ByVal sender As System. sql As String.Focus() 44 .Clear() End If End Sub End Class Create Admin Imports System.Jet. cn As OleDbConnection.Click If TextBox2.Empty Then MessageBox.Show("Select Username Please".Click If TextBox2. "Create Student") TextBox2.Public cmd As OleDbCommand. ByVal e As System. cn) cmd.Text & "'.MatricNo) values('" & TextBox1.Clear() TextBox1.4.Focus() Else cnstring = "Provider=Microsoft.OleDb Public Class creatadmin Public cmd As OleDbCommand. "Create Student") TextBox2.ExecuteNonQuery() MessageBox. ByVal e As System.Oledb.Focus() ElseIf TextBox1. "Create Student") TextBox1. "Create Sub-admin") TextBox2.EventArgs) Handles Button1.mdb" cn = New OleDbConnection(cnstring) cn.
Text = String. sql As String.Click If TextBox2.Data.ElseIf TextBox1.Empty Then MessageBox.Text Then MessageBox.ExecuteNonQuery() MessageBox.Clear() TextBox2.Show("Password Do not match".Show("Invalid password".Show("Select Username Please". "Delete Page") TextBox2.Text = String. "Create Sub-admin") TextBox3.4.Focus() Else cnstring = "Provider=Microsoft. ByVal e As System.Empty Then MessageBox.password) values('" & TextBox1. cn) cmd.EventArgs) Handles Button1. "Create Sub-admin") TextBox1.Text & "')" cmd = New OleDbCommand(sql.0. Data Source=C:\Users\Undisputed\Documents\Visual Studio 2008\Projects\Attendance\Attendance. MessageBoxIcon.Clear() TextBox2. cn As OleDbConnection.'" & TextBox2.Jet.Clear() TextBox1. "Create Sub-admin".Error) TextBox2.mdb" cn = New OleDbConnection(cnstring) cn.Text & "'.OleDb Public Class deleteadmin Public cmd As OleDbCommand.Focus() 45 .OK.Show("User Suxe4 Created".Text <> TextBox3.Clear() End If End Sub End Class Delete Admin Imports System.Open() sql = "Insert into login(Uname.Oledb.Clear() TextBox3.Object. cnstring As String Private Sub Button1_Click(ByVal sender As System.Data Imports System. MessageBoxButtons.Focus() ElseIf TextBox2.
mdb" cn = New OleDbConnection(cnstring) cn. cnstring As String Private Sub Button1_Click(ByVal sender As System.Text & "' and Uname='" & TextBox1.EventArgs) Handles Button2. Data Source=C:\Users\Undisputed\Documents\Visual Studio 2008\Projects\Attendance\Attendance.Show("Select Username Please".Empty Then MessageBox.Show("User Suxe4 Deleted".Show() Me.0.Empty Then MessageBox. cn) cmd.Oledb.Data.Click admin. "Delete Page") TextBox1.Open() sql = "Delete* from login where Password='" & TextBox2.Clear() TextBox1.Hide() TextBox2.Object.Text & "'" cmd = New OleDbCommand(sql.OleDb Public Class deletestud Public cmd As OleDbCommand.Text = String. cn As OleDbConnection.Show() Me. ByVal e As System.ExecuteNonQuery() MessageBox.Text = String.Click If txtMat.Hide() End Sub End Class Delete Student Imports System. "Delete Page") student.Jet.Show("Invalid password".ElseIf TextBox1.Clear() End If End Sub Private Sub Button2_Click(ByVal sender As System. ByVal e As System.EventArgs) Handles Button1. "Delete Page") 46 .4.Data Imports System.Focus() Else cnstring = "Provider=Microsoft. sql As String.Object.
cn) cmd.Focus() Else cnstring = "Provider=Microsoft. You can move.Show("Invalid password".Object.Click admin.Text & "' and Fullname='" & txtuname. Me.Oledb. ByVal e As System.Show() Me.Load 'TODO: This line of code loads data into the 'AttendanceDataSet.Focus() ElseIf txtuname.StudentTableAdapter.Text & "'" cmd = New OleDbCommand(sql.student' table.Open() sql = "Delete* from student where MatricNo='" & txtMat.mdb" cn = New OleDbConnection(cnstring) cn. "Delete Page") txtMat.Show("Student Suxe4 Deleted". ByVal e As System.ExecuteNonQuery() MessageBox.0. or remove it.Hide() End Sub End Class Sub-Admin Page Public Class subadminpage Private Sub subadminpage_Load(ByVal sender As System.Fill(Me.Empty Then MessageBox.AttendanceDataSet.student) End Sub 47 .Clear() txtMat. Data Source=C:\Users\Undisputed\Documents\Visual Studio 2008\Projects\Attendance\Attendance.txtMat.Text = String.4.Jet.Object. "Delete Page") txtuname. as needed.EventArgs) Handles MyBase.Clear() End If End Sub Private Sub Button2_Click(ByVal sender As System.EventArgs) Handles Button2.
cnstring As String Private Sub Button1_Click(ByVal sender As System.0.Object. ByVal e As System.4.ShowDialog() End Sub Private Sub LogoutToolStripMenuItem_Click(ByVal sender As System.Show() Me.Data. cn) cmd. Data Source=C:\Users\Undisputed\Documents\Visual Studio 2008\Projects\Attendance\Attendance.ExecuteNonQuery() End Sub 48 .Hide() End Sub End Class Attendance Page Imports System.Jet.Click addstud.Object.Open() sql = "Select* from student where MatricNo='" & TextBox1.Oledb.Object. ByVal e As System.EventArgs) cnstring = "Provider=Microsoft.EventArgs) Handles EditStudentListToolStripMenuItem.Click Updatestud.Object.OleDb Public Class Updatestud Public cmd As OleDbCommand. cn As OleDbConnection.mdb" cn = New OleDbConnection(cnstring) cn. ByVal e As System. ByVal e As System.ShowDialog() End Sub Private Sub EditStudentListToolStripMenuItem_Click(ByVal sender As System.Private Sub CreateStudentToolStripMenuItem_Click(ByVal sender As System.Text & "'" cmd = New OleDbCommand(sql.Click Form1.Data Imports System.EventArgs) Handles CreateStudentToolStripMenuItem.EventArgs) Handles LogoutToolStripMenuItem. sql As String.
Object.week10='" & CheckBox10. ByVal e As System.Checked & "'.Checked & "'.Checked & "'.week8='" & CheckBox8.Jet.Click Me.0.Oledb.week3='" & CheckBox3. "Update Student Info") End Sub Private Sub Button4_Click(ByVal sender As System.Checked & "'.Clear() End Sub Private Sub Button3_Click(ByVal sender As System.week6='" & CheckBox6.EventArgs) Handles Button3.Checked & "'.Checked & "' where MatricNo='" & TextBox1.Checked & "'. Data Source=C:\Users\Undisputed\Documents\Visual Studio 2008\Projects\Attendance\Attendance.Checked & "'.Checked & "'. ByVal e As System.Text & "'" cmd = New OleDbCommand(sql.Object.Private Sub Button2_Click(ByVal sender As System.Checked & "'.Open() sql = "Update student set week1='" & CheckBox1.Show("Upadete Suxe4".week7='" & CheckBox7.week5='" & CheckBox5.mdb" cn = New OleDbConnection(cnstring) cn.week4='" & CheckBox4.Checked & "'.week12='" & CheckBox12.Object.EventArgs) Handles Button4.Checked & "'.week9='" & CheckBox9.Click cnstring = "Provider=Microsoft.EventArgs) TextBox1. ByVal e As System.ExecuteNonQuery() MessageBox.4.week11='" & CheckBox11. cn) cmd.week2='" & CheckBox2.Hide() End Sub End Class APPENDIX 2 49 .
FORMS Admin login Student login 50 .
Admin page 51 .
Attendance sheet 52 .
Student list 53 .
Admin-Create sub admin Admin-Delete student 55 .
Admin-delete user 56 .
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.