Professional Documents
Culture Documents
ON
ELECTRICITY BILL
MANAGEMENT SYSTEM
Submitted In partial fulfillment of the requirements for
the award of the degree of
Bachelor of Computer Applications
SUBMITED TO:-
H.P. University
ABHILASHI INSTITUTE OF MANAGEMENT STUDIES,
NER CHOWK, MANDI (H.P.)
SELF CERTIFICATE
It gives me immense pleasure to bring out project work on the
“Electricity Bill Management System” . This is new experience
for me at BCA level. This project is the result of my efforts, as
well as the kind support of many of those whom. I take this
opportunity to express my deep sense gratitude to everyone who
helped me, in my way.
I am gratefully thanked to all of the persons who have guided and
help me during my project my project work.
Primarily, I want to thank Mrs. NEELAM MINHAS asst.
profesor of B.C.A. Abhilashi College Mandi who have provided
me basic ideas and out line about my project. Who have guided
and helped me a lot during my project work. Her friendly
guidance and discussions over the complexities of a real time
project have invoked a deep thought in me.
Finally, I end by thanking all of them who have helped me in
making this project.
Signature of student
JEENIYA KASHYAP
Chapter Title
No.
1 Introduction
2 System Development life cycle
3 Recognition Of Need
4 Feasibility Study
5 Analysis
6 Design
7 Data Flow Diagrams
8 Data base
9 Snap Shots
10 Reports
11 Development tools
12 VB.Net Introduction
13 Testing
14 Implementation
15 System Maintenance
16 Bibliography
ACKNOWLEDGEMENT
JEENIYA KASHYAP
Roll No. 6114YZWR440001
CERTIFICATE
Sign Of Guide:-
INTRODUCTION
INTRODUCTION TO PROJECT
Existing system:
ANALYST:
An analyst studies the requirements of a
customer or user and defines the problem domain. He
identifies need of an organization to determine how
people method and computer technology can best
accomplish improvement of the business.
DESIGNER:
A designer design a system in terms of
structure of the database, screens, forms and reports. He
also determines the hardware and software requirements
for the development of the system.
USER:
User is the one who uses the system
ACTIVITIES OF SDLC
Recognition of needs
Feasibility study
Analysis
Designing
Coding
Testing
Implementation
Post Implementation and Maintenance
RECOGNITION OF NEED
Recognition of need is a kind of document generated by a user
and problem statement is a written document that will tell
software developer what to develop.
FEASIBILITY STUDY:
In this phase, we access whether or not a project should be
undertaken. This stage involves defining the problem and fixing
up its boundaries.
REQUIREMENT ANALYSIS:
In this phase the user requirement are studied and analyzed. The
technical development team works with the customer and
system end users to identify the various requirements related to
the system to be developed.
DESIGNING:
This is the phase where new system is designed according to
the needs of the user. In this phase the specification of each and
every component of the project is laid down.
CODING:
This is the phase where system is actually developed. The
system design is coded in some suitable programming language
in this phase.
TESTING:
In this phase, the system is judged for all its worth. During this
phase, the developed system is reviewed against each and every
customer requirement specification.
IMPLEMENTATION:
This is the phase in which the development system is handed
over to the client. The old system is dispensed, new system is
put into operation for use and all personnel are trained to
manage and maintain the new system.
RECOGNITION OF
NEED
RECOGNITION OF NEED
PROBLEM STATEMENT
Problem statement was to design a module:
Which will be user friendly.
Which will restrict the user from accessing other user’s
data.
Which will help the user in viewing his data and
privileges.
Which will help the administrator to handle all changes.
In which further additions can be made without changing
its design drastically.
Which would restrict the server traffic.
Another problem was that the data should be accessed
from the server and accordingly changes should be made on
the data in the server only.
FUNCTIONS TO BE PROVIDED
The various features that the proposed system will possess will
be:
The system will be user friendly and completely menu-
driven so that users shall have no problem in using all the
options provided.
The system will be efficient and fast in response by
carefulprogramming.
FEASIBILITY STUDY
FEASIBILITY STUDY
Technical feasibility
Economic Feasibility
Operational Feasibility
Operational feasibility is mainly related to human organizations
and political aspects. The points to be considered:-
What changes will be brought with a system?
What organizational structures are disturbed?
What new skills, if not; can they be trained in due course
of time?
Our proposed system is aimed to simplify the job without
bringing much change in way of working of existing system.
ANALYSIS
REQUIREMENT ANALYSIS
SOFTWARE REQUIREMENTS
Front end- vb.net
Back end- MS-Access
HARDWARE REQUIREMENTS
SQUARE:
BUBBLE:
LOG IN
Private Sub Button1_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
Button1.Click
Dim str As String
cn.Open()
str = "select * from users
where uid = '" & TextBox1.Text & "'
and pwd = '" & TextBox2.Text & "'"
selcommand(str)
If dr.Read() Then
MsgBox("Welcome to the
Application")
GroupBox1.Visible = False
GroupBox2.Visible = True
Else
MsgBox("Either username
or password is incorrect!!! Try
Again")
End If
cn.Close()
End Sub
Change Password Screen
Change Password
Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim str As String
cn.Open()
str = "Select * from users where
uid='" & TextBox1.Text & "' and pwd = '" &
TextBox2.Text & "'"
selcommand(str)
If dr.Read() Then
GroupBox1.Visible = True
Else
MsgBox("Either users name or
password is incorrect!!!!!!!!!! Try
Again")
End If
cn.Close()
End Sub
Connection Detail
Public Class NewConnection
Dim str As String
Private Sub NewConnection_Load(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
Me.WindowState = FormWindowState.Maximized
getconnected()
ComboBox1.Items.Add("Commercial")
ComboBox1.Items.Add("Domestic")
ComboBox2.Visible = False
End Sub
End Sub
Private Sub RadioButton1_Click(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
RadioButton1.Click
ComboBox2.Visible = False
autoCustID()
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
End Sub
Private Sub fillcustID()
ComboBox2.Items.Clear()
str = "select customerID from meters order
by customerid"
cn.Open()
selcommand(str)
While dr.Read()
ComboBox2.Items.Add(dr(0))
End While
cn.Close()
End Sub
Private Sub autoCustID()
Dim str As String, num As Integer, ss As
String
str = "Select top 1 CustomerId from Meters
order by CustomerID desc"
cn.Open()
selcommand(str)
If dr.Read() Then
ss = dr(0)
ss = Mid(ss, 2, 3)
num = ss
num += 1
If num < 10 Then
ss = "C00" & num
ElseIf num < 100 Then
ss = "C0" & num
ElseIf num < 1000 Then
ss = "C" & num
End If
Else
ss = "C001"
End If
TextBox2.Text = ss
cn.Close()
End Sub
Private Sub ComboBox2_Disposed(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
ComboBox2.Disposed
Form1.GroupBox2.Visible = True
End Sub
Private Sub
ComboBox2_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles ComboBox2.SelectedIndexChanged
Dim str As String
str = "Select * from Meters where
customerID='" & ComboBox2.Text & "'"
cn.Open()
selcommand(str)
If dr.Read() Then
TextBox2.Text = dr(2)
TextBox3.Text = dr(3)
TextBox4.Text = dr(4)
TextBox5.Text = dr(5)
TextBox6.Text = dr(6)
End If
cn.Close()
End Sub
Monthly Meter Readings Screen
End Sub
End Sub
End Sub
Private Sub
ListBox1_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles ListBox1.SelectedIndexChanged
clearfrm()
mno = Mid(ListBox1.SelectedItem, 1, 4)
mtno = Mid(ListBox1.SelectedItem, 1, 4)
bmnt = Mid(ListBox1.SelectedItem, 6)
str = "select * from Bcollection where
MeterNo='" & mtno & "' and BillMonth='" & bmnt &
"'"
cn.Open()
selcommand(str)
If dr.Read() Then
MsgBox("Bill Already Collected from
the Customer")
cn.Close()
Exit Sub
End If
cn.Close()
str = "select * from meters where
MeterNo='" & mno & "'"
cn.Open()
selcommand(str)
If dr.Read Then
TextBox1.Text = dr(3)
TextBox2.Text = dr(4)
End If
cn.Close()
str = Mid(ListBox1.SelectedItem, 6)
bmnt = Mid(ListBox1.SelectedItem, 6)
str = "select * from BillDetails where
MeterNo='" & mno & "' and BillMonth='" & str & "'"
cn.Open()
selcommand(str)
If dr.Read Then
TextBox3.Text = dr(1)
TextBox4.Text = dr(2)
TextBox5.Text = dr(11)
End If
cn.Close()
End Sub
Else
TextBox6.Text = 0
End If
CalculateBill()
End Sub
Private Sub CalculateBill()
TextBox7.Text = Val(TextBox5.Text) +
Val(TextBox6.Text)
TextBox9.Text = TextBox7.Text
End Sub
End Sub
Private Sub Button2_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
Form1.GroupBox2.Visible = True
Me.Close()
End Sub
End Class
REPORTS
Terrif Plans Report
Domestic Connection Report
Commercial Connection Detail
Report
Monthly Detail Report
MONTHLY DETAIL REPORT
Else
MsgBox("Reading for the selected month is
not entered first enter the meter Readings ")
ComboBox1.Text = ""
ComboBox2.Text = ""
End If
cn.Close()
End Sub
Private Sub getTerrif()
str = "select * from terrif where ctype
in(select connectiontype from meters where MeterNo='"
& ComboBox1.Text & "')"
cn.Open()
selcommand(str)
If dr.Read Then
up = dr(1)
mr = dr(2)
ed = dr(3)
Else
MsgBox("Terrif Plan is not found")
End If
cn.Close()
End Sub
Private Sub generateBill()
str = "select * from BillDetails where
MeterNo='" & ComboBox1.Text & "' and BillMonth='" &
ComboBox2.Text & "'"
cn.Open()
selcommand(str)
If dr.Read Then
MsgBox("Billing for the selected month is
already generated")
ComboBox1.Text = ""
ComboBox2.Text = ""
If MsgBox("Do you wish to print the Bill",
MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
ViewBill.MdiParent = Form1
ViewBill.Show()
End If
Else
cn.Close()
Dim dt As Date, dudt As Date, bamt As
Double
str = "select date(),
dateadd('d',10,date())"
cn.Open()
selcommand(str)
dr.Read()
dt = dr(0)
dudt = dr(1)
cn.Close()
up = cu * up
ed = (up * ed) / 100
bamt = up + ed + mr
str = "insert into BillDetails values('" &
ComboBox1.Text & "','" & dt & "','" & dudt & "'," &
oldr & "," & nr & "," & cu & ",'" & ComboBox2.Text &
"'," & up & "," & ed & "," & mr & "," & 0 & "," & bamt
& ",'Unpaid')"
cn.Open()
dmlcommand(str)
cn.Close()
MsgBox("Bill Generated")
If MsgBox("Do you wish to print the Bill",
MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
ViewBill.MdiParent = Form1
ViewBill.Show()
End If
End If
cn.Close()
End Sub
1) Start MS Access form Start -> Program File -> MS Office ->
MS Access.
2) In the File Menu Select New to create new database.
3) MS Access Ask You to save the database name in specified
location. Type the file name in file save dialog box and click
save button.
4) MS Access opens a table design window in which you can
design the table by using design view of by using wizard.
5) Select Create Table in Design View to open design table
windows
6) Here you can type the field name, specify the data type and
the size of the fields. This window also allows the user to
define the different constraints like Primary Key constraints
and Not Null Key constraints.
7) Select save button in tool bar to save the table by giving a
suitable name.
THE TABLE DESIGN WINDOW
To Connect: (Examples)
VALIDATION CHECKS
CONFIGURATION REVIEW
An important element of the validation process is a
configuration review. The intent of the review is to ensure that
all elements of the software configuration have been properly
developed, are cataloged, and have the necessary detail to
bolster the support phase of the software life cycle. The
configuration review, sometimes called an audit.
CONVERSION METHOD :
The direct conversion method is applied. This method
converts from old to the new system abruptly. The old system is
used till a planned conversion day. The organization relies fully
on the new system.
POST
IMPLEMENTATION
POST IMPLEMENTATION
REVIEW PLAN:
For review a team is planned. The Team shall
prepare a formal plan around the objectives of the
review. An overall plan covers the following areas:
ADMINISTRATOR PLAN:
Review area objectives, operating costs, actual
operating performance and benefits.
SYSTEM
MAINTENANCE
SYSTEM MAINTANENCE: