0% found this document useful (0 votes)
15 views54 pages

SMSVB

The document outlines a project report for a School Management System developed as part of the Post Graduation Diploma in Computer Application at Sant Gahira Guru Vishwavidyalaya. It details the project's objectives, features, system specifications, and the methodologies employed, including data flow diagrams and entity-relationship diagrams. The project aims to automate various school management tasks to improve efficiency and reduce manual workload.

Uploaded by

Mahabeer Rana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views54 pages

SMSVB

The document outlines a project report for a School Management System developed as part of the Post Graduation Diploma in Computer Application at Sant Gahira Guru Vishwavidyalaya. It details the project's objectives, features, system specifications, and the methodologies employed, including data flow diagrams and entity-relationship diagrams. The project aims to automate various school management tasks to improve efficiency and reduce manual workload.

Uploaded by

Mahabeer Rana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 54

SANT GAHIRA GURU VISHWAVIDYALAYA, AMBIKAPUR

GURUKUL ARTS, COMMERCE & SCIENCE COLLEGE PATHALGAON

Center code No. - 045

A Project on

“SCHOOL MANAGEMENT SYSTEM”

By

“………………………………………”

A Project report submitted in partial fulfillment of requirement

For the degree of

POST GRADUATION DIPLOMA IN COMPUTER APPLICATION

SANT GAHIRA GURU VISHWAVIDYALAYA, AMBIKAPUR (C.G.)

GURUKUL ARTS, COMMERCE & SCIENCE COLLEGE PATHALGAON (C.G.)


PROJECT WORK EVALUATION

1. Project Title:
2. Software Base: Visual Basic 6.0
3. Submitted for the Course & Year: PGDCA (2024-25)

4. Individual Evaluation: Maximum 100

NAME ROLL NUMBER INDIVIDUAL EVALUATION (M.G.)


(MAX.100)

7. Center Name: (045) Gurukul Arts, Commerce & Science College, Pathalgaon (C.G.)

External Examiner
GURUKUL ARTS, COMMERCE & SCIENCE COLLEGE, PATHALGAON (C.G.)
POST GRADUATION DIPLOMA IN COMPUTER APPLICATION
CERTIFICATE OF APPROVAL

This is to certify that the work embodied in this Major Project, “SCHOOL
MANAGEMENT SYSTEM” has been satisfactorily completed
by…………………………………………….with……………………………………. . It is a
bonafide piece of work, carried out under my guidance in the PGDCA, GURUKUL ARTS,
COMMERCE & SCIENCE COLLEGE, PATHALGAON, and JASHPUR for the partial
fulfillment of the POST GRADUATION DIPLOMA IN COMPUTER APPLICATION
during the Session 2024 - 2025.

Guided By

Name of Guidance
MR. PAWAN KUMAR YADAV
MR. NEERAJ KUMAR PATEL

Approved By
DR. AJEET KUMAR YADAV
Principal of Gurukul Arts, Commerce & Science College, Pathalgaon (C.G.)
GURUKUL ARTS, COMMERCE & SCIENCE COLLEGE, PATHALGAON (C.G.)
POST GRADUATION DIPLOMA IN COMPUTER APPLICATION

CERTIFICATE OF APPROVAL

This foregoing Major project is hereby approved as a creditable study of a computer


application Subject carried out and presented in a manner satisfactory to warranty its
acceptances as a prerequisite to the post graduate degree for which it has been submitted. It is
understood that by this approval the undersigned do not necessarily endorse or approval any
statements made , opinion expressed on conclusion drawn therein, but approval the thesis
only for the purpose the which it has been submitted.

(Internal Examiner) (External Examiner)


MR. PAWAN KUMAR YADAV
GURUKUL ARTS, COMMERCE & SCIENCE COLLEGE, PATHALGAON (C.G.)
POST GRADUATION DIPLOMA IN COMPUTER APPLICATION

DECLARATION

I, …………………………………., a student of post graduation diploma in computer


application, GURUKUL ARTS, COMMERCE & SCIENCE COLLEGE,
PATHALGAON hereby declare that the work presented in this Major Project is outcome of
my own work, is bonafide, correct to the best of my knowledge and this work has been
carried out taking care of Engineering Ethics. The work presented does not infringe any
patented work and has not been submitted to any University for the award of degree or any
professional diploma.

NAME OF STUDENT - ……………………………………………

CLASS NAME - …………………………………………….

ENROLMENT NO - …………………………………………….
ACKNOWLEDGMENT

“TASK successful makes everyone happy, but the happiness will not be gold without
glitter if we didn’t state the persons how have supported us to make it a success

Success will be crowned to people how made it a reality but the people whose
constants guidance and encouragement it possible will be crowned first on the eve of success.
This acknowledgement transcends the reality of formality when we would like to
express deep gratitude and respect to all those people behind the screen who guided, inspired
and happened me for the compilation of our project work.

I consider my self lucky in enough to get such a good project. This project would add
as an asset to my academic profile.

I would like to express my thankfulness HOD of GURUKUL ARTS, COMMERCE


& SCIENCE COLLEGE, PATHALGAON (C.G.) HOD of Computer Application Mr.
Pawan Kumar Yadav and my project Guide Mr. Pawan Kumar Yadav for his constant
motivation and valuable help through the project work.
I also extend my thanks to my team members and family members for their co-
operation during my course.

Thank you!
INDEX

S.N. DESCRIPTION PAGE NO

1 INTRODUCTION

2 PROBLEM DESCRIPTION

3 FEATURES OF PROJECT

4 OBJECTIVE OF PROJECT

5 SYSTEM SPECIFICATION

6 SYSTEM STUDY

7 DFD

8 E-R DIAGRAM

9 SOFTWARE DESCRIPTION

10 DATABASE DESIGN

11 SAMPLE CODING

12 OUTPUT

13 CONCLUSION

14 BIBLIOGRAPHY
1 .INTRODUCTION:-

Web based School Management System are designed to manage and store project
information that are used in web-based applications. The project is titled “School
Management System”. This package once developed will help the school to manage various
details pertaining to its students. This will help Accounts department in maintaining the
details related to the fees and basic details like their security deposits, conveyance and etc. It
will also help management or we can say administration department in maintaining student’s
basic details as well as keeping a check on fees details. This package is basically developed
for the authorities of the school to make their task easier or we can say this package automate
their tasks like maintaining students personal details, maintaining cash details, printing of
receipts. This package helps the administrative & accounting department in maintaining the
students personal & fees details.

2 .PROBLEM DESCRIPTION:-

Now a day’s education plays a great role in development of any country. Many of education
organizations try to increase education quality. One of the aspects of this improvement is
managing of school resources.

School Management System carried on by any individual or institution engaged in providing


a services to students, teachers, guardians and other persons are intermediary that performs
one or more of the following functionalities – Student Admission, Employee Registration,
Student List, Employee List, Student Attendance, Employee Attendance, Student Routine,
Result Management, Payroll & Accounts.

School Management System (SMS) is such a service which provides all services for an
educational institute to make your life easier and faster by assuring its performance. Easy
User Management System, Easy Admission Process, Easy Attendance System.

3. FEATURES OF PROJECT:-

The common features of the projects are:

 This is very easy to use for each user.


 Increase Efficiencies and Reduce Costs
 Transform IT for Higher Education
 Easy Solution

4. OBJECTIVE OF PROJECT:-

There are so many disadvantages in the existing system because they want to a log of
paper work in the system and many people engage to maintain of the system. But the
technology is growing fatly and researches a new technology.
So the cost of the control is very less and we also find previous information in a few
seconds on the computerization by this Software. It improves efficiency of their bill
according to the customer satisfaction.
The major objective for implementing computerized Software in an organization is:-
 To manage the resources of the Stock efficiently.
 To reduce the losses incurred due to wrong entries.
 To manage the Customer/member data in a proper manner.
 Also, manage the asset.
 To maintain the daily expense in efficient manner.
 Preparation of various analysis reports.
 Generation of report that help management for making effective and
 Timely decisions.
So what benefits can a organization gain from implementing a project solution like it?

Tracking: Tracking the progress of your projects and programs is important for the long
term success of your business. A project management software system will give you the
visibility to see if a project is running to its predetermined time frame, what has been done
and what still needs to be complete. The software reduces the need for paper or electronic
updates from the project team members to their project manager.

Resourcing: The project management system ensures that the optimal resources are
working on the right projects by examining the level of skills and abilities needed to
successfully complete the project. Assigning resources to tasks or projects through the
project management system will ensure that each resource knows all the information needed
for them to complete the project.

Communication: A project management system makes communication channels


regarding tasks, projects and programs easier through the uploading and sharing of files,
collaborating on an online space and emailing updates through the system. Communication
channels with your customers/ clients can be made simpler also as business documents e.g.
invoices can be sent directly from the project management system to its required destination
and information on those customers/ clients can be kept on a virtual database to help with the
follow up process that takes place.
Financial Control: A critical item in the management of projects is the budget and the
way in which the budget is managed could ultimately decide the future of the business. The
project management software gives the project manager a visual on the project costs, project
budget (actual Vs planned), project cost data etc to ensure that projects and programs run to
their assigned budgets, money is ultimately saved and not lost and generating a clear Return
on Investment (ROI) on all projects.

Where are we now?: A PM software solution can easily tell an organization if they are in line
with their initial requirements by taking a snapshot of the project at that point in time and
examining some of the following:

Who is working on each task or project?


Is there any time delays
Is the project keeping to its budget etc?

Decision Making: When making a decision in project management all aspects of the
project need to be taken into consideration. By using a project management system the
decision making process is improved, as the information is all in clearly presented in one
place.
The Edge: By having a project management system in place it could ultimately give you a
competitive edge over your competitors. If you can complete a project more efficiently than
the rest you it can give you that extra push ahead of your competitors.

Risk management: Out of nowhere a risk can throw a spanner in the works and cause
severe problems resulting in the project failing. Project management software system can
give you a platform by which risks can be flagged, tracked and correctly resolved to ensure
that the risk has the lowest possible negative effect on the project.

Quality of information: The quality of the information is increased as only the


information that’s needed is gathered and shown.

Keeping the boss happy: Ok this won’t provide the company with benefits however it
will give you some peace and reassurance at your next meeting with the boss. The project
management system provides you with all the tools to help your project come in on time and
too budget keeping all involved happy.
.
 USER INFORMATION:
o The project is designed in such a manner that it can provide all the detail
information of USERS.

 DATABASE INFORMATION
o This project is designed in such a manner that it can provide all the detail
information of record of database.

 REPORT GENERATION:
o This project is designed to provide us various Summary and detailed report of
stored data we can also filter our report using various filter.

5. SYSTEM SPECIFICATION :-

HARDWARE REQUIREMENT

Processor : Intel Pentium IV 2.4 GHz


Clock speed : 500 MHz
Ram : 1 Mb
Hard Disk : 160 Gb
Monitor : 15 VGA Color
Keyboard : 108 keys
Mouse : Fingers

SOFTWARE REQUIREMENT

Operating System : MS Windows XP Home


Back-End : Ms- Access 2003
Front-End : Visual Basic 6.0

6. SYSTEM STUDY:-

INTRODUCTION

School is one of the basic necessities of Human beings. School is like heaven and the
teacher is god for the student.
School management is a very wide field and this work needs a lot of personnel to run this
management as any other organization. We all are aware of vast expenses of this field.
School is a place where student can read and acquire knowledge.

Campus of the School: - A school is a huge building containing many compartments.


There are many rooms. Few rooms are awarded to staff in a well-managed school where there
is a different room for each faculty.

This package is developed for handling school management in a simple way. The package
uses a variety of tool to handle school management system.

This package has been developed in visual basic 6.0. So that user can interact with the
package in s simpler and easy way.

FEASIBILITY STUDY

Feasibility study is made to see if the project on completion will serve the purpose of the
organization for the amount of work, effort and the time that spend on it. Feasibility study lets
the developer foresee the future of the project and the usefulness.

The document provide the feasibility of the project that is being designed and lists various
areas that were considered very carefully during the feasibility study of this project such as
Technical, Economic and behavioral feasibility.

REQUIREMENT FROM NEW SYSTEM

The advent of computer in commercial application has brought about in the industrial
environment. Computerization has made its presence felt in every area Of commercial
application and exception and requirement from Computerized system 1ist increasing due to
growing complexity and requirement .The new proposed computerized School Management
system needs to fulfill following requirements: -

 Providing information as per statuary requirements whenever necessary.


 Saving in storage space required for keeping voluminous data.
 Saving in cost in terms of manpower.
 Automatic recognition of menus and preparation of final reports.
 Elimination of substantial manual efforts involved in posting entries in various menus.
 Availability of any information on hands regarding school management system.

7. DATA FLOW DIAGRAM:-

DFD is a graphical representation of data process and files used in a support system.
Data Flow Diagrams are useful tools for analyzing existing systems. Data Flow Diagram is a
network that describes flows of data and the processes that changes or transforms the data
throughout a system.

Data flow diagrams can be expanded to show successive levels of details sufficient.

Expansion should be performed during the initial investigation to be certain that both the
analyst and user personnel share a common understanding of the existing system and its data
flow.

The different symbols used in the data flow diagram are:-

1. Circle It is used form transfer the input to output


Indicate process that transfer data flow.

2. Rectangle with When data is in file this symbol is used flow.


Representation
Open End

3. Square Squares indicates the source of destination .

4. Arrows Arrows are sued to show flow of path from where it is coming
& going.
DFD for Login Module

Enter Administrator/User
Ok
Password Verifying User
Administrator Name and
User Name Password

User Name
Rejected Password

Login File

DFD for Student process

File

User Item Item Code

Details
School process Updating
process

Item Details
Quotation Details

Stock File
Student process

Information

Student File
Faculty Details DFD

Information File

Item code

Information Faculty
User Process Updating
Details process

Quotation Details

Stock File

8. E-R DIAGRAM:-

CONCEPTUAL ERD SYMBOLS


These symbols are generally used for conceptual data models, although some aspects may
spill over into logical data models. They can be found in the UML Entity Relationship and
Entity Relationship shape libary of Lucidchart. If you don't see the shape you need, use an
image file (Lucidchart supports .PNG, .JPG, or .SVG import) or create your own with our
existing shapes and styling options.

ENTITIES
Entities are objects or concepts that represent important data. They are typically nouns,
e.g. customer, supervisor, location, or promotion.

Strong entities exist independently from other entity types. They always possess one or more
attributes that uniquely distinguish each occurrence of the entity.
Weak entities depend on some other entity type. They don't possess unique attributes (also
known as a primary key) and have no meaning in the diagram without depending on another
entity. This other entity is known as the owner.

Associative entities are entities that associate the instances of one or more entity types. They
also contain attributes that are unique to the relationship between those entity instances.

RELATIONSHIPS
Relationships are meaningful associations between or among entities. They are usually
verbs, e.g. assign, associate, or track. A relationship provides useful information that could
not be discerned with just the entity types.

Weak relationships, or identifying relationships, are connections that exist between a weak
entity type and its owner.

ATTRIBUTES

Attributes are characteristics of either an entity, a many-to-many relationship, or a one-to-


one relationship.

Multivalued attributes are those that are capable of taking on more than one value.

Derived attributes are attributes whose value can be calculated from related attribute values.
DOB DOA
Fnam
e
Snam
Ad
e
d
RollNo
Stude
nt
ID

Admi
t in
Issue
to
CLASS

CLASS
Sec

tc

ID

Snam
e

Year

Ch
PrevCl
ar
ass
9. SOFTWARE DESCRIPTION:-

FRONT END (VB 6.0)

Visual basic 6.0 is the popular version of the programming language. This environment is
to develop robust. Attend alone application and utilities is less time then it usually takes in
other language. Project development has been all easier what with the language supporting
the oops concept.

VISUAL BASIC is a VISUAL and Event-driven Programming Language. These are


the main divergence from the old BASIC. In BASIC, programming is done in a text-only
environment and the program is executed sequentially. In VB6, programming is done in a
graphical environment. In the old BASIC, you have to write program code for each graphical
object you wish to display it on screen, including its position and its color. However, In VB6
, you just need to drag and drop any graphical object anywhere on the form, and you can
change its properties using the properties window.

In addition, Visual Basic 6 is Event-driven because we need to write code in order to


perform some tasks in response to certain events. The events usually comprises but not
limited to the user's inputs. Some of the events are load, click, double click, drag and drop,
pressing the keys and more. We will learn more about events in later lessons. Therefore, a
VB6 Program is made up of many subprograms, each has its own program code, and each
can be executed independently and at the same time each can be linked together in one way
or another.

BACK END (MS ACCESS-2003)

Ms access is a dbms .a database system is basically a computer based record keeping


system. The collection of data, usually referred to as the database, contains information about
one particular enterprise. It maintains any information be necessary to the decision making
process involved the management of that organization.

Very simply, Microsoft Access is an information management tool that helps you store
information for reference, reporting, and analysis. Microsoft Access helps you analyze large
amounts of information, and manage related data more efficiently than Microsoft Excel or
other spreadsheet applications. This article shows you when to use Access, and how it can
help make you more effective.

Microsoft Access works in the same manner any database does, by storing related
information together, and letting you create connections (commonly called relationships)
between different things. The relationships between two different things in MSAccess can be
very simple (such as a contact at a customer and the customer itself) or complex. In the
example below, the blue boxes represent the major things we're tracking in our MS Access
database tables, and the reports at right show how you can join the related information for
analysis and reporting.

10. DATABASE DESIGN:-

A database is certainly control, integrated collection of logically organized data. Before we


use a DBMS to actually build the tables, forms and other objects that will make up our
Database, it is important to take time to design our database. A good database design is
keystone to creating a database that dose what you want it to do effectively, accurately and
efficient.

ClassTable

Student Table
Subject Table

TC Details Table

Staff Detail Table


11. SAMPLE CODING:-

Developing this project here are design the various form for coding. These forms are as
following:

Form name: Login.frm


Coding:

Private Sub Command1_Click()

If Text1.Text = "123" And Text2.Text = "123" Then

MDIForm1.Show

Unload Me

Else

MsgBox "INVLID PASSWORD"

End If

End Sub

Private Sub Command2_Click()

End

End Sub

Form name: MDI.frm


Coding:

Private Sub entry_Click()

S_entry.Show
'MDIForm1.Enabled = False

End Sub

Private Sub exit_Click()

End

End Sub

Private Sub fee_Click()

FRMTC.Show

End Sub

Private Sub GFG_Click()

frmemp_detail.Show

End Sub

Private Sub list_Click()

report1.Show

'If DataEnvironment1.rsCommand1.State = 1 Then DataEnvironment1.rsCommand1.Close

'DataEnvironment1.rsCommand1.Filter = "branch ='" & Combo4.Text & "'"

'Students_List.Show

End Sub

Private Sub marks_Click()

'MDIForm1.Enabled = False

m_entry.Show

End Sub
Private Sub MGHFD_Click()

id = InputBox("Enter TC id")

If DataEnvironment1.rsCommand4.State = 1 Then DataEnvironment1.rsCommand4.Close

DataEnvironment1.rsCommand4.Filter = "id=" & id

DataReport1.Show

End Sub

Private Sub mnulistdate_Click()

report2.Show

End Sub

Private Sub mrk_Click()

mark.Show

End Sub

Private Sub mrreport_Click()

DataReport2.Show

End Sub

Private Sub S_marks_Click()

'If DataEnvironment1.rsCommand2.State = 1 Then DataEnvironment1.rsCommand2.Close

'DataEnvironment1.rsCommand2.Filter = "Branch ='" & Combo4.Text & "' and sec='" &
Combo2.Text & "' and sem=" & Val(Combo1.Text) & " and cttype='" & Combo5.Text & "'"

'Students_Marks.Show

report2.Show

End Sub
Private Sub send_Click()

'MDIForm1.Enabled = False

send_m.Show

End Sub

Form name: Form1.frm


Coding:

Private Sub Command1_Click()

'If Combo4.Text = "" Then

'MsgBox "plz seslect branch"

'Exit Sub

'End If

If DataEnvironment1.rsCommand1.State = 1 Then DataEnvironment1.rsCommand1.Close

DataEnvironment1.rsCommand1.Filter = "branch ='" & Combo4.Text & "'"

Students_List.Show

End Sub

Private Sub Form_Load()

dosomething Me

If RS.State = 1 Then RS.Close

RS.Open "select bname from branch", con, adOpenKeyset, adLockOptimistic, adCmdText

Combo4.Clear

While Not RS.EOF


Combo4.AddItem RS(0)

RS.MoveNext

Wend

End Sub

Form name: Report2.frm


Coding:

Private Sub Command1_Click()

If DataEnvironment1.rsCommand1.State = 1 Then DataEnvironment1.rsCommand1.Close

DataEnvironment1.rsCommand1.Filter = "admdate =#" & DTPicker1.Value & "#"

Students_List.Show

End Sub

Private Sub Form_Load()

dosomething Me

DTPicker1.Value = Date

End Sub

Form name: Report3.frm


Coding:

Private Sub Combo1_Click()

If Combo2.Text = "" Then

MsgBox "please select section", vbInformation

Combo2.SetFocus

Exit Sub
End If

End Sub

Private Sub Combo2_Click()

If RS.State = 1 Then RS.Close

RS.Open "select rollno from Student where branch='" & Combo4.Text & "' and sec='" &
Combo2.Text & "' order by 1", con, adOpenKeyset, adLockOptimistic, adCmdText

Combo1.Clear

While Not RS.EOF

Combo1.AddItem RS(0)

RS.MoveNext

Wend

End Sub

Private Sub Combo4_Click()

If Val(Combo4.Text) > 10 Then

Label4.Caption = "Subject :"

If RS.State = 1 Then RS.Close

RS.Open "select * from othersubjects", con, adOpenKeyset, adLockOptimistic, adCmdText

Combo2.Clear

While Not RS.EOF

Combo2.AddItem RS(0)

RS.MoveNext

Wend

Combo2.ListIndex = 0
Else

Label4.Caption = "Section :"

If RS.State = 1 Then RS.Close

RS.Open "select Sections from branch where bname='" & Combo4.Text & "'", con,
adOpenKeyset, adLockOptimistic, adCmdText

Combo2.Clear

For i = 65 To 65 + Val(RS(0))

Combo2.AddItem Chr(i)

Next

Combo2.ListIndex = 0

End If

End Sub

Private Sub Command1_Click()

If rs1.State = 1 Then rs1.Close

rs1.Open "SELECT SUM(MARKS) FROM MARKS WHERE Branch ='" & Combo4.Text
& "' and sec='" & Combo2.Text & "' and cttype='" & Combo5.Text & "' and rollno=" &
Val(Combo1.Text), con

Dim TOTAL As Integer

TOTAL = Val(rs1(0))

If rs1.State = 1 Then rs1.Close

rs1.Open "SELECT COUNT(*) FROM SUBJECTS WHERE Branch ='" & Combo4.Text &
"'", con
Dim PER As Integer

Dim RESULT As String

Dim DIVSN As String

DIVSN = "F"

PER = TOTAL / 6

If PER > 33 Then

RESULT = "PASS"

Else

RESULT = "FAIL"

End If

If PER > 33 Then

DIVSN = "3ST"

End If

If PER > 45 Then

DIVSN = "2ST"

End If

If PER > 60 Then

DIVSN = "1ST"

End If

'con.Execute "UPDATE MARKS SET TOTAL=" & TOTAL & ",PERCENT= " & Percent &
", RESULT = '" & RESULT & "' WHERE Branch ='" & Combo4.Text & "' and sec='" &
Combo2.Text & "' and cttype='" & Combo5.Text & "' and rollno=" & Val(Combo1.Text)

con.Execute "UPDATE MARKS SET TOTAL=" & TOTAL & " WHERE Branch ='" &
Combo4.Text & "' and cttype='" & Combo5.Text & "' and rollno=" & Val(Combo1.Text)
con.Execute "UPDATE MARKS SET PERCENT1= " & PER & " WHERE Branch ='" &
Combo4.Text & "' and cttype='" & Combo5.Text & "' and rollno=" & Val(Combo1.Text)

'MsgBox "UPDATE MARKS SET PERCENT= " & PER & " WHERE Branch ='" &
Combo4.Text & "' and sem=" & Val(Combo2.Text) & " and cttype='" & Combo5.Text & "'
and rollno=" & Val(Combo1.Text)

con.Execute "UPDATE MARKS SET RESULT = '" & RESULT & "' WHERE Branch ='" &
Combo4.Text & "' and cttype='" & Combo5.Text & "' and rollno=" & Val(Combo1.Text)

con.Execute "UPDATE MARKS SET DIVSN = '" & DIVSN & "' WHERE Branch ='" &
Combo4.Text & "' and cttype='" & Combo5.Text & "' and rollno=" & Val(Combo1.Text)

If DataEnvironment1.rsCommand3_Grouping.State = 1 Then
DataEnvironment1.rsCommand3_Grouping.Close

DataEnvironment1.rsCommand3_Grouping.Filter = "Branch ='" & Combo4.Text & "' and


sec='" & Combo2.Text & "' and cttype='" & Combo5.Text & "' and rollno=" &
Val(Combo1.Text) & ""

Marks.Show

Marks.Refresh

Unload Marks

Marks.Show

End Sub

Private Sub Form_Load()

dosomething Me

If RS.State = 1 Then RS.Close

RS.Open "select bname from branch", con, adOpenKeyset, adLockOptimistic, adCmdText

Combo4.Clear

While Not RS.EOF

Combo4.AddItem RS(0)

RS.MoveNext

Wend

End Sub
Form name: S-entry.frm
Coding:

Private Sub Combo1_Click()

End Sub

Private Sub Combo1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text1.SetFocus

End If

End Sub

Private Sub Combo2_Click()

If RS.State = 1 Then RS.Close

RS.Open "select max(rollno) from student where branch='" & Combo4.Text & "' and sec='"
& Combo2.Text & "'", con, adOpenKeyset, adLockOptimistic, adCmdText

If IsNull(RS(0)) Then

Label9.Caption = "0001"

Else

Label9.Caption = Format(Val(RS(0)) + 1, "0000")

End If

Adodc1.RecordSource = "Select * from student where branch='" & Combo4.Text & "' and
sec='" & Combo2.Text & "'"

Adodc1.Refresh

End Sub
Private Sub Combo2_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Combo1.SetFocus

End If

End Sub

Private Sub Combo4_Click()

If Val(Combo4.Text) > 10 Then

Label4.Caption = "Subject :"

If RS.State = 1 Then RS.Close

RS.Open "select * from othersubjects", con, adOpenKeyset, adLockOptimistic, adCmdText

Combo2.Clear

While Not RS.EOF

Combo2.AddItem RS(0)

RS.MoveNext

Wend

Combo2.ListIndex = 0

Else

Label4.Caption = "Section :"

If RS.State = 1 Then RS.Close

RS.Open "select Sections from branch where bname='" & Combo4.Text & "'", con,
adOpenKeyset, adLockOptimistic, adCmdText

Combo2.Clear

For i = 65 To 65 + Val(RS(0))

Combo2.AddItem Chr(i)
Next

Combo2.ListIndex = 0

End If

End Sub

Private Sub Combo4_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Combo2.SetFocus

End If

End Sub

Private Sub Command1_Click()

If RS.State = 1 Then RS.Close

RS.Open "select * from Student", con, adOpenKeyset, adLockOptimistic, adCmdText

RS.AddNew

RS(1) = Val(Label9.Caption)

RS(2) = Text1.Text

RS(3) = Combo4.Text

'rs(4) = Combo1.Text

RS(4) = Combo2.Text

RS(5) = Text3.Text

'rs(7) = Text4.Text

RS(6) = Text2.Text

RS(7) = DTPicker1.Value

RS(8) = Label7.Caption

RS.Update
RS.Close

MsgBox "Saved"

Adodc1.RecordSource = "Select * from student where branch='" & Combo4.Text & "' and
sec='" & Combo2.Text & "'"

Adodc1.Refresh

Combo1_Click

'Adodc1.Refresh

Text1.Text = ""

Text3.Text = ""

Text2.Text = ""

'Text4.Text = ""

'Combo1.Text = ""

'Combo2.Text = ""

Label9.Caption = ""

'Combo4.Text = ""

'End If

Combo2_Click

End Sub

Private Sub Command5_Click()

Students_List.Show

End Sub

Private Sub Command2_Click()

Command2.Enabled = False
Command3.Enabled = False

Adodc1.Recordset.Update

MsgBox "Record Updated", vbInformation

End Sub

Private Sub Command3_Click()

Command2.Enabled = False

Command3.Enabled = False

Adodc1.Recordset.Delete

MsgBox "Record Deleted", vbInformation

End Sub

Private Sub Command4_Click()

Unload Me

End Sub

Private Sub Form_Load()

dosomething Me

'Command2.Enabled = False

'Command3.Enabled = False

If RS.State = 1 Then RS.Close

RS.Open "select bname from branch", con, adOpenKeyset, adLockOptimistic, adCmdText

Combo4.Clear

While Not RS.EOF

Combo4.AddItem RS(0)

RS.MoveNext
Wend

Combo4.ListIndex = 0

Label7.Caption = Date

DTPicker1.Value = Date

End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text3.SetFocus

End If

Call validchar(KeyAscii)

End Sub

Private Sub Text2_KeyPress(KeyAscii As Integer)

Call validchar(KeyAscii)

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

Command1.SetFocus

End If

End Sub

Private Sub Timer1_Timer()

Label8.Left = Label8.Left + 50

If Label8.Left >= 10560 Then

Label8.Left = 0 - Label8.Width

End If

End Sub

Form name: FRMTC.frm


Coding:

Private Sub Combo1_Click()

If RS.State = 1 Then RS.Close

RS.Open "select * from student where branch='" & Combo4.Text & "' and sec='" &
Combo2.Text & "' AND ROLLNO=" & Val(Combo1.Text), con, adOpenKeyset,
adLockOptimistic, adCmdText

Text1.Text = RS(2)

Text2.Text = RS(6)

Text3.Text = RS(5)

End Sub

Private Sub Combo1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text1.SetFocus
End If

End Sub

Private Sub Combo2_Click()

If RS.State = 1 Then RS.Close

RS.Open "select rollno from student where branch='" & Combo4.Text & "' and sec='" &
Combo2.Text & "'", con, adOpenKeyset, adLockOptimistic, adCmdText

Combo1.Clear

While Not RS.EOF

Combo1.AddItem RS(0)

RS.MoveNext

Wend

Adodc1.RecordSource = "Select * from student where branch='" & Combo4.Text & "' and
sec='" & Combo2.Text & "'"

Adodc1.Refresh

End Sub

Private Sub Combo2_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Combo1.SetFocus

End If

End Sub

Private Sub Combo4_Click()

If Val(Combo4.Text) > 10 Then

Label4.Caption = "Subject :"

If RS.State = 1 Then RS.Close


RS.Open "select * from othersubjects", con, adOpenKeyset, adLockOptimistic, adCmdText

Combo2.Clear

While Not RS.EOF

Combo2.AddItem RS(0)

RS.MoveNext

Wend

Combo2.ListIndex = 0

Else

Label4.Caption = "Section :"

If RS.State = 1 Then RS.Close

RS.Open "select Sections from branch where bname='" & Combo4.Text & "'", con,
adOpenKeyset, adLockOptimistic, adCmdText

Combo2.Clear

For i = 65 To 65 + Val(RS(0))

Combo2.AddItem Chr(i)

Next

Combo2.ListIndex = 0

End If

Combo6.Text = Combo4.Text

End Sub

Private Sub Combo4_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Combo2.SetFocus

End If

End Sub
Private Sub Command1_Click()

If Combo1.Text = "" Or Combo2.Text = "" Or Combo3.Text = "" Or Combo4.Text = "" Or


Combo5.Text = "" Or Combo6.Text = "" Then

MsgBox "plz fill all boxes"

Exit Sub

End If

If RS.State = 1 Then RS.Close

RS.Open "select * from TC where branch='" & Combo4.Text & "' and sec='" &
Combo2.Text & "' AND ROLLNO=" & Val(Combo1.Text), con, adOpenKeyset,
adLockOptimistic, adCmdText

If RS.RecordCount > 0 Then

MsgBox "TC already issued"

Exit Sub

End If

If RS.State = 1 Then RS.Close

RS.Open "select * from tc", con, adOpenKeyset, adLockOptimistic, adCmdText

RS.AddNew

RS(1) = Val(Combo1.Text)

RS(2) = Text1.Text

RS(3) = Combo4.Text

RS(4) = Combo2.Text

RS(5) = Text3.Text

RS(6) = Text2.Text

RS(7) = Combo3.Text

RS(8) = Combo5.Text

RS(9) = Combo6.Text

RS(10) = DTPicker1.Value
RS.Update

RS.Close

MsgBox "Saved"

Adodc1.RecordSource = "Select * from TC where branch='" & Combo4.Text & "' and sec='"
& Combo2.Text & "'"

Adodc1.Refresh

'Combo1_Click

'Adodc1.Refresh

If DataEnvironment1.rsCommand4.State = 1 Then DataEnvironment1.rsCommand4.Close

DataEnvironment1.rsCommand4.Filter = "branch='" & Combo4.Text & "' and sec='" &


Combo2.Text & "' AND ROLLNO=" & Val(Combo1.Text)

DataReport1.Show

Text1.Text = ""

Text3.Text = ""

Text2.Text = ""

'Text4.Text = ""

'Combo1.Text = ""

'Combo2.Text = ""

Label9.Caption = ""

'Combo4.Text = ""

'End If

'Combo2_Click

End Sub

Private Sub Command5_Click()

DataReport1.Show
End Sub

Private Sub Command2_Click()

Command2.Enabled = False

Command3.Enabled = False

Adodc1.Recordset.Update

MsgBox "Record Updated", vbInformation

End Sub

Private Sub Command3_Click()

Command2.Enabled = False

Command3.Enabled = False

Adodc1.Recordset.Delete

MsgBox "Record Deleted", vbInformation

End Sub

Private Sub Command4_Click()

Unload Me

End Sub

Private Sub Form_Load()

dosomething Me

DTPicker1.Value = Date

'Command2.Enabled = False

'Command3.Enabled = False

If RS.State = 1 Then RS.Close

RS.Open "select bname from branch", con, adOpenKeyset, adLockOptimistic, adCmdText


Combo4.Clear

Combo6.Clear

While Not RS.EOF

Combo4.AddItem RS(0)

Combo6.AddItem RS(0)

RS.MoveNext

Wend

Combo4.ListIndex = 0

Combo6.ListIndex = 0

End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Text3.SetFocus

End If

Call validchar(KeyAscii)

End Sub

Private Sub Text2_KeyPress(KeyAscii As Integer)

Call validchar(KeyAscii)

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

Command1.SetFocus

End If

End Sub

Form name: frmemp_detail.frm


Coding:

Dim RS As New ADODB.Recordset

Private Sub cmdClose_Click()

Unload Me

End Sub

Private Sub cmdfind_Click()

Dim sql As String

List1.Visible = True

If RS.State = 1 Then RS.Close

sql = "select * from emp_details where emp_no ='" & txtemp_no.Text & "'"

RS.Open sql, con, adOpenKeyset, adLockOptimistic

If RS.RecordCount > 0 Then

txtemp_no = RS(0)

txtemp_name = RS(1)
txtemp_add = RS(2)

Txtsalary = RS(3)

txtemp_phone = RS(4)

txtemp_desig = RS(5)

DTd_o_j = RS(6)

dtd_o_b = RS(7)

cmbsex = RS(8)

End If

cmdUpdate.Enabled = True

End Sub

Private Sub cmdnew_Click()

Dim sql As String

cmdSave.Enabled = True

cmdUpdate.Enabled = False

cmdFind.Enabled = False

cmdnew.Enabled = False

sql = "select max(VAL(MID(emp_no,2)))from emp_details"

If RS.State = 1 Then RS.Close

RS.Open sql, con, adOpenDynamic, adLockOptimistic

If IsNull(RS(0)) Then

txtemp_no.Text = "E1"

Else

txtemp_no.Text = "E" & (RS(0) + 1)

End If

txtemp_name.SetFocus

txtemp_name.Text = ""

txtemp_add.Text = ""
Txtsalary.Text = ""

txtemp_desig.Text = ""

txtemp_phone.Text = ""

cmbsex.Text = ""

End Sub

Private Sub cmdSave_Click()

Dim sql As String

If Trim(txtemp_name.Text) = "" Then

txtemp_name.SetFocus

MsgBox "enter suitablename", vbInformation

Exit Sub

End If

If Trim(txtemp_add.Text) = "" Then

txtemp_add.SetFocus

MsgBox "enter suitable address", vbInformation

Exit Sub

End If

If Trim(Txtsalary.Text) = "" Then

Txtsalary.SetFocus

MsgBox "enter suitable salary", vbInformation

Exit Sub

End If

If Trim(txtemp_desig.Text) = "" Then

txtemp_desig.SetFocus

MsgBox "enter suitable designation", vbInformation

Exit Sub

End If
txtemp_phone.Text = IIf(Trim(txtemp_phone.Text) = "", "-", txtemp_phone.Text)

If Trim(DTd_o_j.Value) = "" Then

DTd_o_j.SetFocus

MsgBox "enter suitable date of joining", vbInformation

Exit Sub

End If

' Dim a As Integer

' a = DateDiff("yyyy", dtd_o_b.Value, DTd_o_j.Value)

' If a < 18 Then

' DTd_o_j.SetFocus

' MsgBox "enter suitable date of birth", vbInformation

' Exit Sub

' End If

If Trim(cmbsex.Text) = "" Then

cmbsex.SetFocus

MsgBox "select suitable sex", vbInformation

Exit Sub

End If

sql = "insert into Emp_details values('" & txtemp_no.Text & "','" & txtemp_name.Text &
"','" & txtemp_add.Text & "'," & Txtsalary.Text & ",'" & txtemp_phone.Text & "','" &
txtemp_desig.Text & "',#" & DTd_o_j.Value & "#,#" & dtd_o_b.Value & "#,'" &
cmbsex.Text & "')"

con.Execute sql

MsgBox "record saved", vbInformation

Form_Load

cmdnew.Enabled = True

cmdSave.Enabled = False

cmdFind.Enabled = True
End Sub

Private Sub cmdupdate_Click()

sql = "(update emp_details set emp_name='" & txtemp_name & "',address='" & txtemp_add
& "',salary='" & Txtsalary & "',phone_no='" & txtemp_phone & "',designation='" &
txtemp_desig & "',d_o_j=#" & DTd_o_j & "#,d_o_b=#" & dtd_o_b & "#,sex='" & cmbsex &
"' where emp_no='" & txtemp_no & "')"

con.Execute sql

MsgBox ("record update"), vbInformation

End Sub

Private Sub Form_Load()

dosomething Me

dtd_o_b.Value = Date

DTd_o_j.Value = Date

sql = "select * from emp_details"

If RS.State = 1 Then

RS.Close

Set RS = Nothing

End If

RS.Open sql, con, adOpenKeyset, adLockPessimistic, adCmdText

If RS.RecordCount = 0 Then

cmdSave.Enabled = False

cmdUpdate.Enabled = False

cmdFind.Enabled = False

End If

List1.Visible = False

If RS.State = 1 Then RS.Close

RS.Open "select emp_no from emp_details", con, adOpenKeyset, adLockOptimistic

List1.Clear
While Not RS.EOF = True

List1.AddItem RS(0)

RS.MoveNext

Wend

txtemp_name = ""

txtemp_add = ""

Txtsalary = ""

txtemp_phone = ""

txtemp_desig = ""

DTd_o_j = Date

dtd_o_b = Date

cmbsex = ""

cmdnew.Enabled = True

cmdSave.Enabled = False

cmdFind.Enabled = True

cmdUpdate.Enabled = False

End Sub

Private Sub List1_Click()

txtemp_no = List1.Text

If RS.State = 1 Then RS.Close

RS.Open "select * from emp_details where emp_no='" & txtemp_no & "' ", con,
adOpenKeyset, adLockOptimistic

If RS.RecordCount > 0 Then

txtemp_name = RS(1)

txtemp_add = RS(2)

Txtsalary = RS(3)
txtemp_phone = RS(4)

txtemp_desig = RS(5)

DTd_o_j = RS(6)

dtd_o_b = RS(7)

cmbsex = RS(8)

End If

End Sub

Private Sub txtemp_desig_KeyPress(KeyAscii As Integer)

Call validchar(KeyAscii)

End Sub

Private Sub txtemp_name_KeyPress(KeyAscii As Integer)

Call validchar(KeyAscii)

End Sub

Private Sub txtemp_phone_KeyPress(KeyAscii As Integer)

Call validno(KeyAscii)

End Sub

Private Sub Txtsalary_KeyPress(KeyAscii As Integer)

Call validno(KeyAscii)

End Sub
12.OUTPUTS:-

Login Form

Mdi Form

Admission Entry Form


TC Entry Form

Staff Entry Form


TC REPORT

Class Wise Report Form

Class Wise Student list


Date Wise Admission list

Staff Report

13.CONCLUSION:-

Now days computerizations of existing manual system is going on a large scale because of
the versatility, speed, accuracy and diligence it offers to its users. Computers provide
practical means to organize things systematically and economically in the organization the
use of computers for managing transactions; information processing and preparation of
reports can prove to be a blessing.
The project is discussion is an attempt to attain all the above said objectives.
Its development was mean to replace the manual system and to achieve the goal to maximum
accuracy and most efficiently. But like every other system might process faults to its credits
and has its own limitation. Neglecting these few negations, the project can be called a
stepping stone to automate processes in organizations.

14. BIBLIOGRAPHY:-

How to Visual Basic 6.0 (Eric Brierley, Anthony Prince & David Rinaldi)

Using VB 6.0 (Bob Reselman, Richard Peasley, Wayne Prvchniak)

Database Programming (Curtis smith & Michael Amundsen)


with VB 6.0 in 21 days

Programming with visual basic (P.K.Mcbride)

You might also like