Professional Documents
Culture Documents
CONTENTS
1.
Preface
2.
3.
Introduction
4.
Problem Study
(a)
6.
7.
8.
Source Code
9.
10. Limitation
11. Conclusion
12. Bibliography
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.
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
Quickly find
Click the
Find and replace You can now move freely between the
Find and Replace dialog boxes and the data in the view or
window.
Use a sub
Take
advantage
of
Unicode
support
Use
the
Use Microsoft
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)
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.
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
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
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.
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.
16
17
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
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
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
Problem Study
Dis-Advantage of Manual System
1.
2.
3.
4.
5.
6.
8.
Advantage of computerization
1.
2.
3.
4.
5.
6.
7.
8.
22
management
23
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
Operating System
Front end
Back end
24
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
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.
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
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.
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
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
Maintain
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
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
50
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
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
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
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
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
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
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
65
1- menu is used for add, update, first record, last record , previous record, next record, edit and
delete the store record .
66
LIMITATION
(2)
We cant provide any help facility in this project due to time limitation .
(3)
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
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
BIBLIOGRAPHY
69
Even gelous
Steven Holzner