You are on page 1of 69

School Management System

CONTENTS

1.

Preface

2.

Package used : Michrosoft visual basic 6.0

3.

Introduction

4.

Problem Study

(a)

Disadvantages of manual system

(b) Advantage of computerization


5.

H/W & S/W requirements

6.

Testing and SDLC

7.

Output of the project

8.

Source Code

9.

How to use the system

10. Limitation
11. Conclusion
12. Bibliography

School Management System


PREFACE

A database is a control repository information of i.e. database is physical grouping of a


collection of individual but in a predictable and structured way it cuts redundancy data access.

RELATIONAL DATABASE
A relational database is one in which data is around in the form of a matrix with the
row of the matrix forming each individual record in the database and columns of the matrix
formatting the individual fields of information across all records.

Database Management System (D.B.M.S.)


A database management system is an integrated software system that has facilities for
defining the physical structure of the data in a database and for accessing entering and deleting
data.
The item data within the database are primary liked in unit usually refine data as
records. The process of pacifying the values of some data item retrieves data and capsizing the
system to retrieve he values of some or all of the data item of a records or records attaching the
specification.

School Management System

PACKAGE USED
MichroSoftVisual Basic 6.0 :Microsofts visual basic initiative is broad-based and very ambitious. It
includes the .NET Framework, which encompasses the language and
execution platform, plus extensive classes libraries providing rich built-in
functionality. Besides the core vb Framework, the .NET initiative includs
protocols to provide anew level of software integration over the internet, via
a standard known as web services
Although Web services are important, the foundation of all vb6.0based system is the Framework. This chapter will look at the vb Framework
from the viewpoint of a Visual Basic developer. Unless you are quite familiar
with the Framework already, you should consider this introduction an
essential first step in assimilating the information about Visual Basic that
will be presenting in the rest of this book.
The first released product based on the vb Framework was Visual
Studio , which was publicly launched in February of 2002, and included
version 1.0 of the Framework. The current version is Visual Studio 2003,
but almost all of the examples will work transparently with Vb 2002 because
the different in the two versions are minor.

Why use Visual Basic 6.0:Visual Basic 6.0 was easily the most popular language for developing
application with the DNA model. as noted above, it can be used in two major
roles-forms-based VB clients and COM components.
despite its popularity, VB6.0 suffered from a number of limitations in the
COM/DNA environment. Some of the most serious limitations include:
No capability for multithreading
Lack of implementation inheritance and other object-oriented
feathers
Poor error handling ability
Poor integration with other languages such as C++
No effective user interface for Internet-based application
VB6s limited object-Oriented feathers, in particular the lack of inheritance,
made it unsuitable for development of object-based frameworks, and denied
3

School Management System

About the Database window


The Database window in Microsoft Access 2000 provides a
variety of options for viewing and manipulating database objects.

Use the Database window toolbar

Quickly find

commands for creating, opening, or managing database


objects.

Use the Objects bar View database objects in the Objects


bar its vertical orientation makes it easier to use.

Organize database objects into groups

Click the

Groups bar to view your groups, which can contain shortcuts


to database objects of different types.

Use new object shortcuts

In the Database window,

quickly create a new database object by using a wizard, or


open a new database object in design view.

Customize how you select and open objects in the


Database window

If you choose, change the default

behavior so that you select a database object by resting the


pointer over it, and open an object by single-clicking it.

School Management System

Select an object by typing its name For example, select


the Shippers table while viewing the list of table objects by
typing Sh.

What's new about working with data and database design?


Microsoft Access 2000 provides many new features that
make working with data and designing a database even
easier.

Use record-level locking A Microsoft Access database


now supports record-level locking, in addition to page-level
locking (which locks all records on a 4K page). You enable
the locking level with the new database option, Open
databases using record level locking (Tools menu,
Options command, Advanced Tab). The actual level that is
used depends on how the Access database is programmed.

Find and replace You can now move freely between the
Find and Replace dialog boxes and the data in the view or
window.

View related data in a sub datasheet

Use a sub

datasheet to view and edit related or joined data in a table,


query, or form datasheet, or in a sub form all from the same
5

School Management System


view. For example, in the North wind sample database the
Suppliers table has a one-to-many relationship with the
Products table; so for each row of the Suppliers table in
Datasheet view, you can view and edit the related rows of the
Products table in a sub datasheet.

Automatically fix errors caused by renaming fields


Name AutoCorrect automatically corrects common side
effects that occur when you rename forms, reports, tables,
queries, fields, text boxes or other controls.

Take

advantage

of

Unicode

support

Use

the

characters of any language that Unicode supports in your


data. Use Unicode compression to offset the effect of
Unicode's increased storage space requirements. Take
advantage of dual-font support specify a substitute font
that you can use in addition to your default font to properly
display all of the characters in your data.

Use Microsoft

Databound grid control (db grid)

Use Microsoft Data bound grid control (db grid) to access


and manipulate data in a database server through any OLE
DB provider.

School Management System

PROJECT OUTLINE
A.TITLE OF THE PROJECT:- SCHOOL MANAGEMENT SYSTEM

B.OBJECTIVE OF THE PROJECT:This project has been designed for the School. This simple to
use and to manage. All the basic requirements of a School
have been fulfilled successfully.
C. LEAST HARDWARE SPECIFICATION:System
Ram
CD Drive
Key Board
Monitor
Operating System

: PIV
: 256 MB
: Any One
: Any (101,104,106)
: 14/15 Color Monitor
: Windows (XP)

D.SOFTWARES USED:DEVELOPMENT TOOLS


DATABASE

: VISUAL BASIC 6.0


: MS-ACCESS

School Management System

E. ABOUT THE PROJECT :This project is maintain the information about School for adding,
Deleting and Modify Detail about Student, teacher, Examination, Result,
Book department and fees department.
This project provides the facility for book management and fees
management. User can store the information about books, students,
teachers and fees Submission. Its also provides the facility for maintain
information about students and teacher.
The software uses Ms-Access 8.1.5.0.0 (Enterprise Edition) as the back
end and Visual Basic as the front end. The choice of the software was
definitely driven by current demand of the software in todays market.
Visual Basic was instead of Developer 2000 because Visual Basic is not
only a front end but also a software development environment or tool So
by as front end tool we got a chance to study its various other aspect.

School Management System

INTRODUCTION ABOUT VISUAL BASIC :Sounds like a simple question in mind. Figuring out now Microsoft
visual basic, the fastest and easiest way to create application for
Microsoft windows. Whether you are an experienced professional or
brand new to windows programming, visual basic provides you with
a complete set of tools to simplify rapid application development. So
what is visual basic? The Visual part refers to the method used to
create the graphical user
Interface (GUI). Rather than writing numerous lines of code to
describe the appearance and location of interface elements, you
simply add rebuilt object s into place on screen. If youve ever used a
drawing program such as paint, you already have most of the skills
necessary to create an effective user interface.
The Basic part refers to the BASIC (Beginners All-Purpose
Symbolic Instruction Code) language, a language used by more
programmers than any other language in the history of computing.
Visual basic has evolved from the original BASIC language and noel
contains several hundred statements, function, and keywords, many
of which relate directly to the windows GUI. Beginners can create
useful applications by learning just a few of the keywords, yet the
power of the language allows professionals to accomplish anything
that can be accomplished using any other Windows programming
language.
The Visual Basic programming language is not unique to visual basic.
The visual basic programming system, applications edition included
in Microsoft Excel, Microsoft Access, and many other Windows
applications uses the same language. The Visual Basic scripting
9

School Management System


edition (VB Script) is a widely used scripting language and a subset
of the Visual Basic language.
The investment you make in learning Visual Basic will carry over to
these other areas. Whether your goal is to create a small utility for
yourself or your work group, a large enterprise-wide system, or even
distributed applications spanning the globe via the internet, Visual
Basic has the tools you need.
Active X tm technologies allow you to use the functional
it
provided by other applications, such as Microsoft Word, word
processor, Microsoft Excel spreadsheet, and other Windows
applications. You can even automate applications and objects created
using the professional or enterprise editions of Visual Basic.
Internet capabilities make it easy to provide access to documents and
applications cross the internet or intranet from within your
application, or to create internet server applications.
Your finished applications are a true .exe file that uses a Visual Basic
virtual machine that you can freely distribute.
Visual Basic Editions
Visual Basic is available in three versions, each geared to meet a
specific set of development requirements.
The Visual Basic learning edition allows programmers to easily create
powerful applications for Microsoft Windows and Windows NT. It
includes all intrinsic controls, plus grid, tab, and data-bound controls.
Documentation provided with this edition includes the learn VB Now
CD plus Microsoft developer network (MSDN tm) library CDs
containing full online documentation.
The professional edition provides computer professionals with a fullfeatured set of tools for developing solutions for others. It includes all
the features of the learning edition, plus additional ActiveX controls,
10

School Management System


the internet information server application designer, integrated Visual
database tools and data environment, active data objects, and the
dynamic HTML page designer. Documentation provided with the
professional edition includes the Visual Studio professional features
Book plus Microsoft developer network CDs containing full online
documentation.

TYPES OF INTERNSIC CONTROL


Static Text
Group Box
Check Box
Scroll Bar
Timer
Folder Hierarchy
Circles abed Stuff
Pictures
Editable Text
Button
Radio Button
Drop Down List
List
11

School Management System

Integrated Development Environment Elements :The Visual Basic integrated development environment (IDE) consists of
the following elements.

Menu Bar
Display the commands you use to work with Visual Basic. Besides the
standard File, Edit, View, Windows, and Help menus, menus are
provided to access functions specific to programming such as Project,
Format, or Debug.

Context Menus
Contain shortcuts to frequently actions. To open a context menu, click
the right mouse button on the objects youre using. The specific list of
shortcuts available from context menus depends on the part of the
environment where you click the right mouse button. For example, the
context menu displayed When you right click on the Toolbox lets you
display the components dialog box, hide the Toolbox, dock or undock
the Toolbox, or add a custom tab on the Toolbox.

Toolbars
Provide quick access to commonly used commands in the programming
environment. You click a button on the Toolbar once to carry out the
action represented by that button. By default, the standard Toolbar is
displayed when you start Visual Basic. Additional Toolbars for editing,
from design, and debugging can be toggled on or off from the Toolbars
command on the View menu. Toolbars can be docked beneath the menu
bar or float if you select the vertical bar on the left edge and drag it
away from the menu bar.

12

School Management System


Toolbox
Provides a set of tools that you use at design time to place controls on
a from. In addition to the default toolbox layout, you can create your
own
Custom layouts by selecting add tab from the context menu and
adding controls to the resulting tab.
Project Explorer Window
Lists the forms and modules in your current project, a project is the
collection of files you to build an application.

Properties Window
Lists the property settings for the selected form or control. A property is
a characteristic of an object, such as size, caption, or color.

Form Designer
Serves as a window that you customize to design the interface of your
application. You add controls, graphics, and pictures to a form to create
the look you want. Each form in your application has its own form
designer window.

Object Browser
Lists objects available for use in your project and gives you a quick way
to navigate through your code.

Code Editor Window


Server as an editor for entering application code. A separate code editor
window is created for each form or code module in your application.

Form Layout Window


13

School Management System


The form layout window allows you to position the forms in your
application using a small graphical representation of the screen.

Immediate, Locals, and Watch Windows


These additional windows are provided for use in debugging your
application. They are only available when you running your application
within the IDE.

DATABASE PROGRAMMING IN VISUAL BASIC

DAO :Data Access Objects (DAO) can be used either with the Microsoft jet
database engine or, using the ODBC direct option, without it. This
chapter discusses design and implementation issues that arise when
using the Data Access Objects (DAO) to access remote databases.
The Microsoft jet database engine is a stand-alone database
management system that is capable of both processing queries and
routing queries to remote servers as needed. Accessing jet through
DAO adds to Microsoft Visual Basics ease of development by
providing an object-oriented development paradigm and accessibility
to data-aware bound controls.

Remote Data Access Using DAO and ODBC Direct


Visual Basic version offers an additional option that can be used with
DAO to access remote database engines. ODBC Direct .this DAO
option permits your application to choose the database engine and
interface used by DAO. Basically, you have to choices:
14

School Management System


The Microsoft jet database engine .By default, DAO used jet toper
form all data access operations.
ODBC direct. When this option is enabled, DAO loads the Remote
Data Object (ROD) 2.0 libraries and delegates all data access
operation to the ODBC data source. Basically, ODBC Direct maps
each of the data access object to an equivalent remote data object
.while not all the RDO functionality is implemented with ODBC
direct , this approach permits you to leverage existing DAO-based
applications using a familiar object model when accessing remote
database system.

Creating Data Sources


A data source is an object that binds other object to data fro man
external source. The foundation for a data source object is a data
aware class module, which is essentially a class module that exposes
interfaces to an external source of data.
Data aware classes can also be used as the basis for ActiveX
components. One common example of a data aware component is the
ADO data control, which provides visual interfaces for binding
control to a data through ADO. Although you could create a data
aware class that dose same thing as the ADO data control, sharing
that class between multiple application and multiple programmers
could prove difficult.
15

School Management System


A much better approach would be to create an active X component
that duplicates or expands on the functionality of the ADO data
control .As any Active X component; this could take any one of the
several forms: an ActiveX control, an ActiveX DLL, or An active X
EXE. In any case, your Active X data source can be easily shared,
simplify access to the data regardless of where that data resides: in a
local database like Access in a remote database such as SQL, or even
in a private OLE DB data store.

The series of step by-step procedures in the chapter will


demonstrative two different approaches to aerating data source
components. First well build an ActiveX data.
Source control my data control, which emulates the ADO data
control. Next well bind the data control to other control using both
simple and complex binding. Finally, well create an ActiveX DLL,
My Data that demonstrates binding to a private data store in an OLE
DB simple provider.
The procedures for creating the data source components build on each
other. The sequence in which you perform the procedures is therefore
important.

16

School Management System

Introduction about Ms Access


Microsoft Access is a relational database
management system (DBMS). At the most basic level, a DBMS is a
program that facilitates the storage the retrieval of structure information
on a computers hard drive. Example of well-know industrial-strength
relational DBMS include Ms-Access.
A full-feature procedural programming language, essentially a subset of
visual basic.
A simplified procedural macro language unique to Access.
A rapid application development environment computer with visual
form and report development tools.
A sprinkling of objected-oriented extension.
Various wizards and builder to make development easier.
For new user, these multiple personalities can be a source of
enormous frustration. The problem is that each personality is based on a
different set of assumption and a different view of computing for
instance.
The relational database personality expects you to view your
application as sets of data.
Microsoft SQL server.
IBM DB2.
Informix.
Well-know PC-based (desktop) relational DBMS include
Microsoft Access.
Microsoft Fox-pro.
Borland DBase.

17

School Management System


The many faces of Access
Microsoft generally like to incorporate as many features as possible
into its product .For example, the Access package contains the
following elements:
A relational database system that supports two industry standard
query language:
Structure Query language (SQL) and Query by Example (QBE);

What is Access?
The procedural programming personality expects you to view your
application as commands to be executed sequentially.
The object oriented personality expects you to view your
application as objects which encapsulate state and behavior
information. Microsoft makes no effort to provide an overall
logical integration of these personalities (indeed, it is unlikely that
such integration is possible).Instead, it is up to you as a developer
to pick and choose the best approach to implementing your
application. Since there are often several vastly different ways to
implement a particular feature in access, recognizing the different
personalities and exploiting the best features (and avoiding the
pitfalls) of each are important skills for Access developer. The
advantage of these multiple personalities is that it is possible to use
Access to learn about an enormous range of information.
System concepts without introduction to Microsoft Access having
to
Interact with a large number of single-personality tools. for
example:
Ms-Access for relational database.
Power Builder for rapid application,
Smalltalk for objects-oriented programming.
18

School Management System


Keep this advantage in mind as we switch back and forth between
personalities and different computing paradigms.
Access database
Although the term database typically refers to a collection of
related data table, an Access database includes more than just data. In
addition to table, an Access database file contains several different
types of database objects.
Saved queries for organizing data,
Forms for interacting with data on screen,
Reports for printing results,
Macros and visual basics programs for extending the functionality
of database application. These entire database objects are stored in
a single file named <filename>. MDB. When you are running
Access, temporary locking file named<filename>.LAB is also
created you can safely ignore the*.LAB file; everything of value
is in the *.mdb file.
Microsoft Access documents are called database. An Access
database is a collection of database, object, table, queries, forms,
reports, macros, and modules. You can design new object or open
existing ones to work with your database unlike many database
programs an Access database can contain all of the objects that
make up a database application in a single file with the .mdb file
name extension. For this reason, an Access database file is
sometimes called a database.
You can store general-purpose Microsoft Visual Basic for
application procedures in a library database. An Access database
application can call procedures from a library database. After
establishing a link to the database. Called a reference. You can
create or purchase tools called add-ins to add custom feature to
19

School Management System


Access. Access user-level security account information is stored in
a database. Called a workgroup information file.

TABLES:In Microsoft Access, you store data in table. Table organizes data into
columns and rows. Each row in a table is called a record. Each column
in a record is called a field. For example, each record in a Customer
table contains information about one customer. Each customers record
contain fields name for each piece of information you want to store
about the customer, such as last name, first name, address, city,
state/province, postal code and phone. Users can enter and modify data
in table directly or through queries and data entry forms,
Witch is described later in this section.

Storing related data in separate tables :You can create a separate table for each topic of data. Such as customers,
employees, or products. Using a separator table for each topic means
that you store that data only once, which makes your database .more
efficient and reduces data entry errors. For example If you, if you store
both customer and order information in one table, whenever a customer
places an additional order, you have to reenter information about that
customer. Not only is this inefficient, but errors can occur when
information is reentered. If you keep separate table for customer and
orders, each customer has only one record in the Customer table. If you
need to update or correct information about a customer, you need to
change data in only one record. This method eliminates redundant
entries and reduces datacenter errors.
The process of eliminating redundancy by dividing data into separate
related table is called normalization. Access providers a wizard called
the Table analyzer Wizard to help you normalize your database.
20

School Management System

Defining Relationships
To bring the data from multiple tables together for a query, form or
report, you define relationship between the tables based on a common
piece of information stored in both tables. For example a Customer table
typically contains a Customer ID field whose value uniquely identifies
each customer. If the order table also has a Customer_ID field, you can
define a relationship between the two tables, so that when you enter
orders, you can enter a customers ID number to relate information from
the Customer table to that order. Instead of actually typing the
Customer_ID.you can use a lookup list box, as shown in the orders form
the north wind sample database.

21

School Management System

Problem Study
Dis-Advantage of Manual System
1.

Sccuracy of work not 100% accurate

2.

Ability to remember inaccurate information

3.

Ability of continue poor process over a long period

4.

Ability of consistently imperfect follows instructions

5.

Ability to thanks and good modify in new situation

6.

Ability to learn by good trail and error method

8.

Neatness of work may not good

Advantage of computerization
1.

Speed of execution fast

2.

Accuracy of work is 100% accurate

3.

Ability to remember accurate information

4.

Ability of continue very good process over a long period

5.

Ability of consistently perfectly follows instructions

6.

Ability to thanks and enable modify in new situation

7.

Ability to learn by enable trail and error method

8.

Neatness of work very good

22

School Management System


The scope of DBMS include application as
1) Education:(a) Subject study management
(b) Class management
(c) Result Management
(d) Accounting system
(e) Other official work
2) Business:(a) Real

management

(b) Project management


(c) Accounting system
3) Home data management:(a) Nutrition analysis
(b) Mailing
4) Inventory control :(a) Inventory
(b) Planning
(c) Purchasing orders
5) Financial :(a) Payroll
(b) General ledger
Advantage of a typical DBMS :1) Data redundancy can be reduced
2) Data can be shared
3) Integrity can be maintained

23

School Management System

HARDWARE & SOFTWARE REQUIREMENTS


(A)

HARDWARE SPECIFICATION: -

Micro Processor
RAM
Hard Disk Space
VDU

Pentium 4
256 MB
1 GB
SVGA at 1280 X 1024 resolution with

Printer
Key Board
Mouse
Speaker

32-bit true colors


Dot Matrix Printer
PC-AT 101 KEYBOARD
Optical Mouse
3D Multimedia Speaker

(B) SOFTWARE SPECIFICATION: -

Operating System
Front end
Back end

WINDOWS 98, XP, 2000, Me.


Visual Basic 6.0
Ms-Access 2000

24

School Management System

TESTING AND SDLC


System Development Model
Software development has hit something of a crisis we fail to deliver
software that meets user expectation. However by employing disciplined
techniques throughout the development of software and by employing a
philosophy of co-ordination control and management through out the
development lifecycle of software project standard may be achieved.
The aim is to provide discipline to the development of software a
structured framework against which development takes place is
advocated.
A model of the process of system development is used by organization
to describe their approach to producing computer system. Traditionally
this has been a staged (or phased) approach; know as the system life
cycle or system development life cycle (SDLC).

Purpose for SDLC


This SDLC methodology establishes
procedures, practices, and
guidelines governing the initiation, concept development, planning
requirements analysis, design, development , integration and text,
implementation, and operations, maintenance and disposition of
information system .it should be used in conjunction with existing
policy and guidelines for acquisition and procurement ,as these
areas are not discussed in the SDLC.

Scope
This methodology should be used for all DOJ information system and
applications .it is applicable across all information technology (IT)
environments (e.g. mainframe, client and server) and applies to
contractually developed as well as in-house development application.
These specific participants in the life cycle process. And the necessary
25

School Management System


and approvals vary from project to project. The guidance provided in
this document should be tailored to the individual project based on
cost, complexity and criticality to the agencys mission.

Applicability
This methodology must be applied to those who are responsible for
information system development. All project managers and development
teams involved in system development project represent the primary
audience for the SDLC.

INTRODUCTION TO SDLC
The SDLC includes ten phases during which defined IR work products
are created or modified. The tenth phase occurs when the system is
disposed of and the task performed is eliminated or transferred to other
system. The tasks and work products.
For each phase are described in subsequent chapter. Not every project
required that the phase be sequentially executed. However the phased
are interdependent. Depending upon the size and complexity of the
project, phase may be combined or may overlap.

PHASE OF SDLC
Initiation phases
The initiation of a system (or project) begins when a business need or
opportunity is identified. A project manager should be appointed to
manage the project. This business need is documented in a concept
proposal. After the concept proposal is approved, the system concept
development phase begins.

System concept Development phase


One a business need is approved, the approaches for accomplishing the
concept is reviewed for feasibility and approp4iatenss. The system
boundary document identifies the scope of the system and requires
senior official approval and funding before beginning the planning
phase.
26

School Management System


Planning phase
The concept further developed to describe how the business will operate
once the approved system is implemented, and to assess how to system
will impact employee and customer privacy. To ensure the products
and /or services provide the required capability on-time and within
budget, project resources. Activities, schedules tools and reviews are
defined. Additionally, security certification and accreditation activities
begin with the identification of system security requirements and
completion of high level vulnerability assessment.

Requirements Analysis phase


Functional user requirements are formally defined and delineate the
requirement in terms of data, system performance, security, and
maintainability requirement for the system. All requirements are defined
to a level of detail sufficient for system design to proceed. All
requirement need to be measurable and testable and relate to the
business need or opportunity identified in the initiations phase.

Design phase
The physical characteristic of the system are designed during this phase.
The operating environment is established, major subsystems and input
and the output are defined, and processes are allocated to resources.
Every thing requiring user input or approval must be documented and
reviewed by the user. The physical characteristics of the system are
specified and detailed design is prepared. Subsystem identified during
design is used to create a detailed structure of the system. Each
subsystem is partitioned into one or more design units or modules.
Detailed logic specifications are prepared for each software module.

Development phase
The detailed specification produced during the design phase is translated
hardware, communication, and executable software shall be unit tested,
integration, and rested in a systematic manner. Hardware is assembled
and tasted.
27

School Management System


Integration and test phase
The various computer of the system are integrated and systematically
tested. The user tested the system to ensure that the functional
requirement, as defined in the functional requirement document, is
satisfied by the developed or modified system. Prior to installing and
operating the system in a production environment, the system must be
undergoing certification and accreditation activity.

Implementation phase
The system or system modification are installed and made operational in
a production environment. The phase is initiated after the system has
been tested and accepted by the user. This phase continue until the
system is operating in production in accordance with the defined user
requirements.

Operations and Maintenance Phase


The system operation is ongoing. The system is monitored for continued
performance in accordance with requirement, and needed system
modification is incorporated. The operational system is periodically
assessed through in-process reviews to determine how the system can
be made more efficient and efficient. Operations continue as long as the
system can be effectively adapted to respond to an organization needs.
When modifications or change are identified as necessary, the system
may reenter the planning phase.

Disposition Phase
The disposition activities ensure the orderly termination of the system
and preserve the vital information about the system so that some or all of
the information may be reactivated in the future if necessary. Particular
emphasis is given to proper preservation of the data processed by the
system,

28

School Management System


So that the data is effectively migrated to another system or archived in
accordance with applicable records management regulations and
policies, for potential future access

Classical Waterfall
The lifecycle approach is derived the waterfall model of the system
development described by Royce in 1970, a simplified version of which
is given below.
Requirements
Analysis

Functional
Specification

Design

Implementation
(Coding)

Testing

Classic system Development Life Cycle-version 1


There are now many variations on the theme of the waterfall model,
Alternatives
Feasibility
Analysis
Design
Implement
Test
29

Maintain

School Management System

Feasibility Study:
Is the project technically, operationally, financially and legally feasible?
The feasibility is used to determine if the project should get the goahead. If the project is preceding the feasibility study will produce a
project plane and budget estimates for the future stage of development.

Analysis:
Gather the requirements for the system. This stage includes details a
detailed study of the business needs of the organization. Option for
changing the business process may be considered.

Design:
This focuses on high level design (What programs are we going to need
how are they going to interact), low level design (how the individual
programs are going to work), interface design (what are the interfaces
going to look like) and data design (what data are going to need).

Implementation:
The design is translated into code. Computer programs may be written
using a conventional programming language to a fourth generation
language (4GL) or an application generator.

Test:
The system is tested. Normally programs are written are as a series of
individual modules-these should be subject to separate and detailed test.
The system is then tested a whole- the separate modules are brought
together and tested as complete system. the system need to be ensure
that interfaces between modules work(integration testing), the system
30

School Management System


work on the intended platform and with the expected volume of data
(volume testing) and the system does what the user
requires(acceptance/beta testing).

Maintenance:
Inevitably the system will need maintenance-hopefully we havent got
anything wrong but people will want extra things added or existing
things changed over time.
This paradigm is the oldest and the most widely used approach to
system development, it was developed by Royce in 1970.
Waterfall Approach Characteristics although there are many variations
on the theme of the lifecycle, each approach has its own characteristics:
1. Specific activities , techniques and outcomes are associated with
each stage;
2. progression between stages is orderly and proceeds in a liner
fashion;
3. viewed to be a process driven by technicians;
4. monitoring and control takes place at the end of stage;
5. Involvement of end users is typically passive and principally in the
analysis stage.
The lifecycle model assumes that system will be constructed from
scratch by a team of IS professionals either in-house of within a
software house.
Other approaches exist, namely:
1.
Those based on alternative lifecycle e.g. prototyping , evolution
ary development, spiral model;
2.
Those which have a different philosophical basis e.g. soft sys
tem and sociotechnical approaches;
3. The use of package software to address application areas;
4. The development of application by end users.

31

School Management System


A number of these alternative approaches will be examined later in the
course. However, our initial focus will be on the on the waterfall model
of the system development.
Problem with the waterfall approach
1. Real projects rarely follow the sequential process illustratedinteraction though the cycle is required.
2. It is often difficult for the customer to state all requirements explicitly
at the state of the development lifecycle (the reasons for problems when
capturing requirements has/will be covered).
With this approach, the customer must be patient- a working version is
not usually available until late in the development lifecycle.

32

School Management System

33

School Management System

34

School Management System

35

School Management System

36

School Management System

37

School Management System

38

School Management System

39

School Management System

40

School Management System

41

School Management System

42

School Management System

43

School Management System

44

School Management System

45

School Management System

46

School Management System

Form admission
Private Sub cmdfind_Click()
Data1.Recordset.FindFirst ("SCODE=" & Val(InputBox("enter code")))
End Sub
Private Sub cmdfirst_Click()
Data1.Recordset.MoveFirst
End Sub
Private Sub cmdlast_Click()
Data1.Recordset.MoveLast
End Sub
Private Sub Combo1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Combo2.SetFocus
End If
End Sub
Private Sub Combo2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text2.SetFocus
End If
End Sub
Private Sub Command1_Click()
Command2.Enabled = True
If KeyAscii = 13 Then
txtinrolmentno.SetFocus
End If
Data1.Recordset.AddNew
txtinrolmentno.SetFocus
End Sub
Private Sub Command2_Click()
'Command1.Enabled = False
Data1.Recordset.Update
End Sub
Private Sub Command3_Click()
Data1.Recordset.Delete
End Sub
Private Sub Command4_Click()
47

School Management System


Data1.Recordset.MovePrevious
If Data1.Recordset.BOF Then Data1.Recordset.MoveLast
End Sub
Private Sub Command5_Click()
Data1.Recordset.MoveNext
If Data1.Recordset.EOF Then Data1.Recordset.MoveFirst
End Sub
Private Sub Command6_Click()
Me.Hide
MDIForm1.Show
End Sub
Private Sub Command7_Click()
frmend.Show
End Sub
Private Sub Form_Load()
Command2.Enabled = False
End Sub
Private Sub text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(Text1.Text) Then
txtfname.SetFocus
Else
Text1.Text = ""
Text1.SetFocus
MsgBox "please input correct Father name"
End If
End If
End Sub
Private Sub txtaddress_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtaddress.Text) Then
Combo1.SetFocus
Else
txtaddress.Text = ""
txtaddress.SetFocus
MsgBox "please input correct Address"
End If
End If
End Sub
Private Sub txtadimission_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtadimission.Text) Then
Text1.SetFocus
Else
txtadimission.Text = ""
48

School Management System


txtadimission.SetFocus
MsgBox "please input correct student name"
End If
End If
End Sub
Private Sub txtcity_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtcity.Text) Then
Command2.SetFocus
Else
txtcity.Text = ""
txtcity.SetFocus
MsgBox "please input correct cityname in string"
End If
End If
End Sub
Private Sub txtclass_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
txtdob.SetFocus
End If
End Sub
Private Sub txtcno_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtcno.Text) Then
txtaddress.SetFocus
Else
txtcno.Text = ""
txtcno.SetFocus
MsgBox "please input correct contect number with STD code"
End If
End If
End Sub
Private Sub txtdob_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtdob.Text) And IsNumeric(txtdob.Text) Then
txtcno.SetFocus
Else
txtdob.Text = ""
txtdob.SetFocus
MsgBox "please input correct Birth date in DD/MM/YY formate"
End If
End If
End Sub
Private Sub txtfname_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtfname.Text) Then
49

School Management System


txtmname.SetFocus
Else
txtfname.Text = ""
txtfname.SetFocus
MsgBox "please input correct Mother name"
End If
End If
End Sub
Private Sub txtinrolmentno_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtinrolmentno.Text) Then
txtadimission.SetFocus
Else
txtinrolmentno.Text = ""
txtinrolmentno.SetFocus
MsgBox "please input studentcode in number"
End If
End If
End Sub
Private Sub txtmname_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
txtclass.SetFocus
Else
txtmname.SetFocus
End If
End Sub
Private Sub txtstud_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
txtfname.SetFocus
End If
End Sub
Public Sub CLEAR()
Text1.Text = ""
txtaddress .Text = ""
txtadimission .Text = ""
txtcity .Text = ""
txtclass .Text = ""
txtcno .Text = ""
txtdob .Text = ""
txtfname .Text = ""
txtinrolmentno .Text = ""
txtmname .Text = ""
End Sub

50

School Management System


Form bus
Private Sub Command1_Click()
Load frmfacility
Unload Me
End Sub

Form class
Private Sub Combo1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Command1.SetFocus
End If
End Sub
Private Sub Command1_Click()
Data2.RecordSource = ("select * from student_record where class=" & Combo1.Text & " and
session='" & Combo2.Text & "'")
Data2.Refresh
Text1 = Data1.Recordset.Fields(0)
Data1.RecordSource = ("select * from class_record where classname=" & Combo1.Text)
Data1.Refresh
Text1.Text = Data1.Recordset.Fields(0)
Text2.Text = Data1.Recordset.Fields(1)
Text3 = Data2.Recordset.RecordCount
End Sub
Private Sub Command2_Click()
MDIForm1.Show
End Sub
Private Sub Command3_Click()
frmend.Show
End Sub
Private Sub Command4_Click()
Dim co As Integer
Data2.RecordSource = ("select * from student_record where session='" & Combo2.Text & "'")
Data2.Refresh
Data1.RecordSource = ("select * from class_record where classname=" & Combo1.Text)
Text3 = Data2.Recordset.RecordCount
'Data2.Recordset.MoveFirst
co = 0
While Not Data2.Recordset.EOF
co = co + 1
Data2.Recordset.MoveNext
51

School Management System


Wend
Text3.Text = co
Text1 = ""
Text2 = ""
Combo1 = ""
End Sub

Form computer lab


Private Sub Command1_Click()
frmfacility.Show
End Sub

Form End
Private Sub Label2_Click()
End
End Sub
Private Sub Label3_Click()
MDIForm1.Show
End Sub

Form Facility
Private Sub Timer1_Timer()
Label1.FontSize = Label1.FontSize + 5
End Sub
Private Sub Command1_Click()
MDIForm1.Show
Unload Me
End Sub
Private Sub Image1_Click()
frmcomputerlab.Show
End Sub
Private Sub Image2_Click()
frmplayground.Show
End Sub
Private Sub Image3_Click()
frmlibary.Show
End Sub
Private Sub Image4_Click()
52

School Management System


frmstaff.Show
End Sub
Private Sub Label2_Click()
frmcomputerlab.Show
End Sub
Private Sub Label3_Click()
frmlibrary.Show
End Sub
Private Sub Label4_Click()
frmstaffroom.Show
End Sub
Private Sub Label5_Click()
frmplayground.Show
End Sub
Private Sub Image5_Click()
frmbus.Show
End Sub
Private Sub Image6_Click()
frmlab.Show
End Sub

Form Facultiy
Private Sub Command1_Click()
On Error Resume Next
Text1.SetFocus
Data1.Recordset.AddNew
Command2.Enabled = True
End Sub
Private Sub Command10_Click()
On Error Resume Next
Data1.Recordset.MoveLast
End Sub
Private Sub Command2_Click()
On Error Resume Next
Data1.Recordset.Update
End Sub
Private Sub Command3_Click()
On Error Resume Next
Data1.Recordset.Delete
Text1.Text = ""
txtaddress.Text = ""
txtage = ""
txtcity.Text = ""
txtdedt = ""
txtfathername.Text = ""
53

School Management System


txtphone.Text = ""
txtquali.Text = ""
MsgBox " record is deleted"
End Sub
Private Sub Command4_Click()
On Error Resume Next
Data1.Recordset.MovePrevious
If Data1.Recordset.BOF Then Data1.Recordset.MoveFirst
End Sub
Private Sub Command5_Click()
On Error Resume Next
Data1.Recordset.MoveNext
If Data1.Recordset.EOF Then Data1.Recordset.MoveLast
End Sub
Private Sub Command6_Click()
MDIForm1.Show
End Sub
Private Sub Command7_Click()
frmend.Show
End Sub
Private Sub Command8_Click()
Data1.Recordset.FindFirst ("FACILITYNAME='" & InputBox("enter any name") & "'")
End Sub
Private Sub Command9_Click()
Data1.Recordset.MoveFirst
End Sub
Private Sub Form_Load()
Command2.Enabled = False
End Sub
Private Sub text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(Text1.Text) Then
txtfathername.SetFocus
Else
Text1.Text = ""
Text1.SetFocus
MsgBox "please input faculityname in string"
End If
End If
End Sub
Private Sub txtaddress_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtaddress.Text) Then
txtcity.SetFocus
Else
txtaddress.Text = ""
54

School Management System


txtaddress.SetFocus
MsgBox "please input address in string"
End If
End If
End Sub
Private Sub txtage_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtage.Text) Then
txtquali.SetFocus
Else
txtage.Text = ""
txtage.SetFocus
MsgBox "please input age in number"
End If
End If
End Sub
Private Sub txtcity_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtcity.Text) Then
txtphone.SetFocus
Else
txtcity.Text = ""
txtcity.SetFocus
MsgBox "please input cityname in string"
End If
End If
End Sub
Private Sub txtdept_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtdept.Text) Then
txtaddress.SetFocus
Else
txtdept.Text = ""
txtdept.SetFocus
MsgBox "please input departmentname in character"
End If
End If
End Sub
Private Sub txtfathername_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtfathername.Text) Then
txtage.SetFocus
Else
txtfathername.Text = ""
txtfathername.SetFocus
MsgBox "please input fathername in string "
55

School Management System


End If
End If
If KeyAscii = 13 Then
txtage.SetFocus
End If
End Sub
Private Sub TXTQUALIFICATION_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
txtdedt.SetFocus
End If
End Sub
Private Sub txtphone_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtphone.Text) Then
Command2.SetFocus
Else
txtphone.Text = ""
txtphone.SetFocus
MsgBox "please input phonenumber in number"
End If
End If
End Sub
Private Sub txtquali_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Not IsNumeric(txtquali.Text) Then
txtdept.SetFocus
Else
txtquali.Text = ""
txtquali.SetFocus
MsgBox "please input qualification in character"
End If
End If
End Sub

Form Fare
Private Sub Command1_Click()
Dim co As Integer
Data1.RecordSource = ("select * from faculity_record where DEPARTMANTNAME='" &
Combo1.Text & "'")
Data1.Refresh
Text1 = Data1.Recordset.RecordCount
Data1.Recordset.MoveFirst
co = 0
While Not Data1.Recordset.EOF
co = co + 1
Data1.Recordset.MoveNext
56

School Management System


Wend
Text1.Text = co
End Sub
Private Sub Command2_Click()
MDIForm1.Show
End Sub
Private Sub Command3_Click()
frmend.Show
End Sub

Form Fees
Private Sub cmdaddnew_Click()
Dim a As Integer
cmdsave.Enabled = True
Data1.Recordset.MoveLast
a = Data1.Recordset.Fields(0)
a=a+1
Data1.Recordset.AddNew
Text1 = a
End Sub
Private Sub cmdback_Click()
Me.Hide
MDIForm1.Show
End Sub
Private Sub cmddel_Click()
Data1.Recordset.Delete
End Sub
Private Sub cmdexit_Click()
frmend.Visible = True
End Sub
Private Sub cmdfind_Click()
Data1.Recordset.FindFirst ("scode='" & InputBox("enter any student code") & "'")
End Sub
Private Sub cmdfirst_Click()
Data1.Recordset.MoveFirst
End Sub
Private Sub cmdlast_Click()
Data1.Recordset.MoveLast
End Sub
Private Sub cmdnext_Click()
If Data1.Recordset.EOF Then
Data1.Recordset.MoveFirst
Else
Data1.Recordset.MoveNext
57

School Management System


End If
End Sub
Private Sub cmdprevious_Click()
Data1.Recordset.MovePrevious
If Data1.Recordset.BOF Then Data1.Recordset.MoveLast
End Sub
Private Sub cmdsave_Click()
Data1.Recordset.Update
'Data1.Recordset.MoveFirst
Data1.Refresh
End Sub
Private Sub Command1_Click()
'If Text9.Text = Null Then
'MsgBox "Please enter the STUDENT CODE"
'Else
Data2.Recordset.FindFirst "scode=" & Trim(Text9.Text) & ""
Text2.Text = Data2.Recordset.Fields(11)
Text3.Text = Data2.Recordset.Fields(0)
Text4.Text = Data2.Recordset.Fields(1)
Text5.Text = Data2.Recordset.Fields(4)
'End If
End Sub
Private Sub Form_Load()
Data1.DatabaseName = App.Path & "\s_record.mdb"
cmdsave.Enabled = False
End Sub
Private Sub text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text2.SetFocus
End If
End Sub
Private Sub Text2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text3.SetFocus
End If
End Sub
Private Sub Text3_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text4.SetFocus
End If
End Sub
Private Sub Text4_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text5.SetFocus
End If
End Sub
58

School Management System


Private Sub Text5_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text6.SetFocus
End If
End Sub
Private Sub Text6_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text7.SetFocus
End If
End Sub
Private Sub Text7_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text8.SetFocus
End If
End Sub
Private Sub Text8_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text10.SetFocus
End If
End Sub
Private Sub Text9_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(Text9.Text) Then
Command1.SetFocus
Else
Text9.Text = ""
Text9.SetFocus
MsgBox "please input correct rollnumber"
End If
End If
End Sub

Form Markentry
Private Sub cmdok_Click()
Dim a As Integer
a=0
Data2.Recordset.MoveFirst
Do While Not Data2.Recordset.EOF
If txtscode = Data2.Recordset.Fields("SCODE") Then
a=a+1
Exit Do
End If
Data2.Recordset.MoveNext
Loop
59

School Management System


If a = 0 Then
MsgBox "wrong code"
Else
marksheet1.Data1.Recordset.AddNew
marksheet1.Text7 = Data2.Recordset.Fields("CLASS")
marksheet1.Text41 = txtscode
marksheet1.Text19 = Data2.Recordset.Fields("STUDENTNAME")
marksheet1.Text22 = Data2.Recordset.Fields("MOTHER'SNAME")
marksheet1.Text21 = Data2.Recordset.Fields("FATHER'SNAME")
marksheet1.Text23 = Data2.Recordset.Fields(3)
If marksheet1.Text7 = 9 Then
marksheet1.txthindi = txthindi
marksheet1.txttothindi = txthindi
marksheet1.txteng = txtenglish
marksheet1.txttoteng = txtenglish
marksheet1.txtmaths = txtmaths
marksheet1.txttotmaths = txtmaths
marksheet1.txtsans = txtsanskrit
marksheet1.txttotsans = txtsanskrit
marksheet1.txtsocial = txtsocial
marksheet1.txttotsocial = txtsocial
marksheet1.txtscience = txtscience
marksheet1.txtpr = txtpractical
marksheet1.txttotscience = Val(marksheet1.txtscience) + Val(marksheet1.txtpr)
marksheet1.txttot = Val(marksheet1.txttoteng) + Val(marksheet1.txttothindi) +
Val(marksheet1.txttotmaths) + Val(marksheet1.txttotsans) + Val(marksheet1.txttotscience) +
Val(marksheet1.txttotsocial)
marksheet1.Label24.Visible = False
marksheet1.Text8.Visible = False
marksheet1.Text9.Visible = False
marksheet1.Text10.Visible = False
marksheet1.Text11.Visible = False
marksheet1.Text18.Visible = False
marksheet1.Label12.Visible = True
marksheet1.Text27.Visible = True
marksheet1.Text28.Visible = True
marksheet1.txtpr.Visible = True
marksheet1.Text30.Visible = True
marksheet1.Text33.Visible = True
marksheet1.Text31.Visible = True
'marksheet1.Text11.Visible = True
marksheet1.Text32.Visible = True
marksheet1.Label22.Visible = True
marksheet1.txttothindi.Visible = True
marksheet1.txttotmaths.Visible = True
marksheet1.txttotscience.Visible = True
60

School Management System


marksheet1.txttotsocial.Visible = True
marksheet1.txttoteng.Visible = True
marksheet1.txttotsans.Visible = True
' marksheet1.Text18.Visible = True
marksheet1.txttot.Visible = True
marksheet1.Text24 = Val(marksheet1.Text1) + Val(marksheet1.Text2) +
Val(marksheet1.Text3) + Val(marksheet1.Text4) + Val(marksheet1.Text5) +
Val(marksheet1.Text6)
marksheet1.Text26 = Val(marksheet1.Text12) + Val(marksheet1.Text13) +
Val(marksheet1.Text14) + Val(marksheet1.Text15) + Val(marksheet1.Text16) +
Val(marksheet1.Text17)
marksheet1.Show
Else
marksheet1.txthindi = txthindi
marksheet1.txttothindi = txthindi
marksheet1.txteng = txtenglish
marksheet1.txttoteng = txtenglish
marksheet1.txtmaths = txtmaths
marksheet1.txttotmaths = txtmaths
marksheet1.txtsans = txtsanskrit
marksheet1.txttotsans = txtsanskrit
marksheet1.txtsocial = txtsocial
marksheet1.txttotsocial = txtsocial
marksheet1.txtscience = txtscience
marksheet1.txttotscience = marksheet1.txtscience
marksheet1.Text10 = Text1
marksheet1.Text18 = Text1
marksheet1.txttotal = Val(marksheet1.txteng) + Val(marksheet1.txthindi) +
Val(marksheet1.txtmaths) + Val(marksheet1.txtsans) + Val(marksheet1.txtscience) +
Val(marksheet1.txtsocial) + Val(marksheet1.Text18)
marksheet1.Text24 = Val(marksheet1.Text1) + Val(marksheet1.Text2) +
Val(marksheet1.Text3) + Val(marksheet1.Text4) + Val(marksheet1.Text5) +
Val(marksheet1.Text6) + Val(marksheet1.Text8)
marksheet1.Text26 = Val(marksheet1.Text12) + Val(marksheet1.Text13) +
Val(marksheet1.Text14) + Val(marksheet1.Text15) + Val(marksheet1.Text16) +
Val(marksheet1.Text17) + Val(marksheet1.Text9)
marksheet1.Label12.Visible = False
marksheet1.Text27.Visible = False
marksheet1.Text28.Visible = False
marksheet1.txtpr.Visible = False
marksheet1.Text30.Visible = False
marksheet1.Text33.Visible = False
marksheet1.Text31.Visible = False
marksheet1.Text11.Visible = False
marksheet1.Text32.Visible = False
marksheet1.Label22.Visible = False
61

School Management System


marksheet1.txttothindi.Visible = False
marksheet1.txttotmaths.Visible = False
marksheet1.txttotscience.Visible = False
marksheet1.txttotsocial.Visible = False
marksheet1.txttoteng.Visible = False
marksheet1.txttotsans.Visible = False
marksheet1.Text18.Visible = False
marksheet1.txttot.Visible = False
marksheet1.Show
End If
End If
End Sub
Private Sub Command1_Click()
MDIForm1.Show
End Sub
Private Sub Command2_Click()
frmend.Show
End Sub
Private Sub text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(Text1.Text) Then
cmdok.SetFocus
Else
Text1.Text = ""
Text1.SetFocus
MsgBox "please inputmarks in number"
End If
End If
End Sub
Private Sub txtenglish_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtenglish.Text) Then
txtsanskrit.SetFocus
Else
txtenglish.Text = ""
txtenglish.SetFocus
MsgBox "please input marks in number"
End If
End If
End Sub
Private Sub txthindi_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txthindi.Text) Then
txtmaths.SetFocus
Else
62

School Management System


txthindi.Text = ""
txthindi.SetFocus
MsgBox "please input hindi marks in number"
End If
End If
End Sub
Private Sub txtmaths_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtmaths.Text) Then
txtscience.SetFocus
Else
txtmaths.Text = ""
txtmaths.SetFocus
MsgBox "please input number in number"
End If
End If
End Sub
Private Sub txtpractical_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtpractical.Text) Then
txtsocial.SetFocus
Else
txtpractical.Text = ""
txtpractical.SetFocus
MsgBox "please input practical marks in number"
End If
End If
End Sub
Private Sub txtsanskrit_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtsanskrit.Text) Then
Text1.SetFocus
Else
txtsanskrit.Text = ""
txtsanskrit.SetFocus
MsgBox "please inputmarks in number"
End If
End If
End Sub
Private Sub txtscience_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtscience.Text) Then
txtpractical.SetFocus
Else
txtscience.Text = ""
txtscience.SetFocus
63

School Management System


MsgBox "please input marks in number"
End If
End If
End Sub
Private Sub txtscode_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtscode.Text) Then
txthindi.SetFocus
Else
txtscode.Text = ""
txtscode.SetFocus
MsgBox "please input studentcode in number"
End If
End If
End Sub
Private Sub txtsocial_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If IsNumeric(txtsocial.Text) Then
txtenglish.SetFocus
Else
txtsocial.Text = ""
txtsocial.SetFocus
MsgBox "please input marks in number"
End If
End If
End Sub

Form MDI
Private Sub admission_Click()
frmadmission.Show
End Sub
Private Sub crecord_Click()
frmclass.Show
End Sub
Private Sub entry_Click()
frmfaculity.Show
End Sub
Private Sub exit_Click()
frmend.Show
End Sub
Private Sub facility_Click()
frmfacility.Show
End Sub
Private Sub fchart_Click()
64

School Management System


frmfeesstructure.Show
End Sub
Private Sub fentry_Click()
frmfees.Show
End Sub
Private Sub frepresent_Click()
'feesmaintain.Show
End Sub
Private Sub Label1_Click()
Label1.Caption = "SCHOOL MANAGEMENT SYSTEM"
End Sub
Private Sub mentry_Click()
Frmmarkentry.Show
End Sub
Private Sub mrepresent_Click()
marksheet1.Show
End Sub
Private Sub record_Click()
frmfeare.Show
End Sub
Private Sub Timer1_Timer()
If Label1.Left >= MDIForm1.Width Then
Label1.Left = 10
Else
Label1.Left = Label1.Left + 100
End If
End Sub

65

School Management System

How To Use System


To run this application software use school management system.exe file
After execution the program first of all information windows will be displayed on
the screen with Enter program & Exit program option .Select appropriate option as you
want .
When you enter the project password window will be displayed .Give correct
password and enter the project otherwise use exit program option for quit to program
.Giving correct password you will enter the main program and see the main window .main
program window has four menu pads including related menu command to perform the task.

1- menu is used for add, update, first record, last record , previous record, next record, edit and
delete the store record .

2- Display menu is used for show information for preparing Mark-Sheet .


3- Report menu is used for show the report of student record.

3- Exit menu is used for close the program.

66

School Management System

LIMITATION

The limitation of our project are :(1)

We have tried to develop our system as best as possible , but it is developed on


account of knowledge based collected from the responsible authorities of the
school , any missing of information may lead to the limitation of our project .

(2)

We cant provide any help facility in this project due to time limitation .

(3)

We can use this project on stand alone system

Further scope :Project development , has certain limitation project has certain limitations has project has
some scope we can use in modification of this software . we will try to improve our project in
future and reduce the above problem .

67

School Management System

CONCLUSION
The most important part of our project school management Report and
provide report facility.
Generating school record of all transaction . Are also important part of the
system . Computer proves to be the best thing that can perform the above
mentioned task efficiently .
Thus we have tried to make our system as user friendly and efficient as
possible using the application package Visual Basic 6.0

68

School Management System

BIBLIOGRAPHY

1. -Mastering Visual Basic 6.0

3. -Beginning visual Basic 6.0:

4. - Visual Basic 6.0 Black Book

69

Even gelous

Wright, Shroff Publishers

Steven Holzner

You might also like