0% found this document useful (0 votes)
25 views21 pages

Department Subject Code

The document outlines a micro project titled 'Water Billing Management System Using VB.NET' developed by students of the Computer Engineering department at Government Polytechnic, Jintur for the academic year 2023-24. It describes the system's purpose to automate water bill payments, manage customer information, and generate reports, with features including invoice creation and payment management. The project was completed under the guidance of Miss V. Ekhande and includes sections such as an abstract, introduction, program code, output, conclusion, and references.

Uploaded by

vnavghare33
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)
25 views21 pages

Department Subject Code

The document outlines a micro project titled 'Water Billing Management System Using VB.NET' developed by students of the Computer Engineering department at Government Polytechnic, Jintur for the academic year 2023-24. It describes the system's purpose to automate water bill payments, manage customer information, and generate reports, with features including invoice creation and payment management. The project was completed under the guidance of Miss V. Ekhande and includes sections such as an abstract, introduction, program code, output, conclusion, and references.

Uploaded by

vnavghare33
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/ 21

GOVERNMENT POLYTECHNIC, JINTUR

MICRO PROJECT
(Academic year: 2023-24)

TITLE OF PROJECT

Water Billing Management System Using VB.NET

DEPARTMENT: Computer Engineering ( IV semester )

SUBJECT: GUI Application development using vb.net

CODE: 22034

SUBMITTED BY:

Sr. No Roll no. Full name of Student Enrollment


No
1 227 Kishor Babu Surwase 2200940102
2 232 Vivek Suresh Navghare 2200940117
3 238 Rohan Rajeshwar Mane 2200940134
4 250 Rahul Laxman Awad 2200940162

SUBMITTED TO:

Government polytechnic Jintur, for


academic year 2023-24

UNDER THE GUIDANCE OF: Miss V.Ekhande


( Lecturer in VB.NET )

1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

CERTIFICATE

This is to certify that Mr. /Ms.


Kishor Babu Surwase
(CO227)
Vivek Suresh Navghare (CO232)
Rohan Rajeshwar Mane (CO238)
Rahul Laxman Awad (CO250)

of FORTH Semester of Diploma in COMPUTER ENGINEERING of


Institute, Govt. Polytechnic Jintur (0094) has completed the Micro Project
satisfactorily in Subject GUI APPLICATION DEVELOPMENT USING
VB.NET for the academic year 2023-24 as prescribed in the curriculum.

Subject Teacher Head of the Department Principal

Seal of Institution

2
INDEX

Sr. Title Page No.

1 ABSTRACT 4

2 INTRODUCTION 5

3 PROGRAM CODE 6

4 OUTPUT 15

5 CONCLUSION 18

6 REFERENCES 19

3
 ABSTRACT

This Water billing system is an automated system that aims to minimize the
process of paying the water bills. It is also designed to accommodate complex
water requirements and day-to-day work. It’s an easy-to-use system and the
functions can be easily learned. This system allows the user to access customer’s
information. This can also create invoices and manage the payments. The
program also allows generating reports for Invoices, Payments, and Taxes.

4
 INTRODUCTION

The system was developed using a VB.NET and MS Access Database. The
source code is free to download for educational purposes. Feel free to download
and modify the source code the way you wanted to meet your requirements. To
know more about the system, continue reading below for features and instructions
in running the project.

These are the following features of the system

Create Invoice
Invoice History
Manage Payments
Manage Customer
Manage Staff
Settings
Invoice Report
Payment Report
Tax Report
Manage Accounts
Login and Logout

5
 PROGRAM CODE

 Login page

Public Class LoginForm1

' TODO: Insert code to perform custom authentication using the provided username
and password
' (See http://go.microsoft.com/fwlink/?LinkId=35339). ' The
custom principal can then be attached to the current thread's principal as
follows:
' My.User.CurrentPrincipal = CustomPrincipal
' where CustomPrincipal is the IPrincipal implementation used to perform
authentication.
' Subsequently, My.User will return identity information
encapsulated in the CustomPrincipal object ' such as the username,
display name, etc.

Private Sub OK_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles OK.Click
Try
loginSub(UsernameTextBox, PasswordTextBox)
Catch ex As Exception
MsgBox(ex.Message & " in btnlogin_Click")
End Try
Me.Close()
End Sub

Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles Cancel.Click
Me.Close()
End Sub

Private Sub LoginForm1_Load(sender As Object, e As EventArgs)


Handles MyBase.Load

6
PasswordTextBox.Clear()
UsernameTextBox.Clear()
UsernameTextBox.Focus()
End Sub End
Class

 Form.vb

Public Class Form1


Private Sub tsItem_Click(sender As Object, e As EventArgs)
closeChildForm() anyfrm(frmItem)
End Sub

Private Sub ToolStripButton1_Click(sender As Object, e As


EventArgs) Handles tsInvoi1ce.Click
closeChildForm() anyfrm(frmInvoice)
End Sub

Private Sub ToolStripButton4_Click(sender As Object, e As


EventArgs) Handles tsStaff.Click
closeChildForm() anyfrm(frmStaff)
End Sub

Private Sub AddCustomerToolStripMenuItem_Click(sender As Object, e As


EventArgs) Handles AddCustomerToolStripMenuItem.Click
closeChildForm() anyfrm(frmCustomer)
End Sub

Private Sub ManageCustomerToolStripMenuItem_Click(sender As


Object, e As EventArgs) Handles
ManageCustomerToolStripMenuItem.Click
closeChildForm() anyfrm(frmManageCustomer)
End Sub

Private Sub InvoiceReportToolStripMenuItem_Click(sender As Object, e As


EventArgs) Handles InvoiceReportToolStripMenuItem.Click
closeChildForm() anyfrm(frmInvoiceReport)

7
End Sub

Private Sub PaymenReportToolStripMenuItem_Click(sender As Object, e As


EventArgs) Handles PaymenReportToolStripMenuItem.Click
closeChildForm() anyfrm(frmPaymentReport)
End Sub

Private Sub TaxReportToolStripMenuItem_Click(sender As Object, e


As EventArgs) Handles TaxReportToolStripMenuItem.Click closeChildForm()
anyfrm(frmTaxReport)
End Sub

Private Sub ToolStripButton2_Click(sender As Object, e As


EventArgs) Handles tsPayment.Click
closeChildForm() anyfrm(frmpayment)
End Sub

Private Sub ToolStripButton5_Click(sender As Object, e As


EventArgs) Handles tsSettings.Click
closeChildForm() anyfrm(frmSettings)
End Sub

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles


MyBase.Load
visibleAdminMenu("false")
End Sub

Private Sub tsLogin_Click(sender As Object, e As EventArgs)


Handles tsLogin.Click
If tsLogin.Text = "Login" Then
LoginForm1.ShowDialog() Else
tsLogin.Text = "Login"
tsLogin.Image = My.Resources.loginCLIP
visibleAdminMenu("false")
End If
End Sub

Private Sub tsAccount_Click(sender As Object, e As EventArgs) Handles


tsAccount.Click closeChildForm() anyfrm(frmAccount)

8
End Sub End
Class

 Form1.vb

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form

'Form overrides dispose to clean up the component list.


<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub

'Required by the Windows Form Designer


Private components As System.ComponentModel.IContainer

'NOTE: The following procedure is required by the Windows Form


Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Dim resources As
System.ComponentModel.ComponentResourceManager = New
System.ComponentModel.ComponentResourceManager(GetType(Form1))
Me.ToolStrip1 = New System.Windows.Forms.ToolStrip()
Me.tsInvoice = New System.Windows.Forms.ToolStripButton()
Me.tsPayment = New System.Windows.Forms.ToolStripButton()
Me.tsCustomer = New
System.Windows.Forms.ToolStripDropDownButton()

9
Me.AddCustomerToolStripMenuItem = New
System.Windows.Forms.ToolStripMenuItem()
Me.ManageCustomerToolStripMenuItem = New
System.Windows.Forms.ToolStripMenuItem()
Me.tsStaff = New System.Windows.Forms.ToolStripButton()
Me.tsSettings = New System.Windows.Forms.ToolStripButton()
Me.tsReport = New
System.Windows.Forms.ToolStripDropDownButton()
Me.InvoiceReportToolStripMenuItem = New
System.Windows.Forms.ToolStripMenuItem()
Me.PaymenReportToolStripMenuItem = New
System.Windows.Forms.ToolStripMenuItem() Me.TaxReportToolStripMenuItem =
New
System.Windows.Forms.ToolStripMenuItem()
Me.tsAccount = New System.Windows.Forms.ToolStripButton()
Me.tsLogin = New System.Windows.Forms.ToolStripButton()
Me.ToolStripSeparator1 = New
System.Windows.Forms.ToolStripSeparator()
Me.ToolStrip1.SuspendLayout()
Me.SuspendLayout()
'
'ToolStrip1
'
Me.ToolStrip1.ImageScalingSize = New System.Drawing.Size(30,
30)
Me.ToolStrip1.Items.AddRange(New
System.Windows.Forms.ToolStripItem() {Me.tsInvoice, Me.tsPayment,
Me.tsCustomer, Me.tsStaff, Me.tsSettings, Me.tsReport,
Me.ToolStripSeparator1, Me.tsAccount, Me.tsLogin})
Me.ToolStrip1.Location = New System.Drawing.Point(0, 0)
Me.ToolStrip1.Name = "ToolStrip1"
Me.ToolStrip1.Size = New System.Drawing.Size(953, 52)
Me.ToolStrip1.TabIndex = 0
Me.ToolStrip1.Text = "ToolStrip1"
'
'tsInvoice
'
Me.tsInvoice.Image =
CType(resources.GetObject("tsInvoice.Image"), System.Drawing.Image)
10
Me.tsInvoice.ImageTransparentColor =
System.Drawing.Color.Magenta
Me.tsInvoice.Name = "tsInvoice"
Me.tsInvoice.Size = New System.Drawing.Size(49, 49)
Me.tsInvoice.Text = "Invoice"
Me.tsInvoice.TextImageRelation =
System.Windows.Forms.TextImageRelation.ImageAboveText
'
'tsPayment
'
Me.tsPayment.Image =
CType(resources.GetObject("tsPayment.Image"), System.Drawing.Image)
Me.tsPayment.ImageTransparentColor =
System.Drawing.Color.Magenta
Me.tsPayment.Name = "tsPayment"
Me.tsPayment.Size = New System.Drawing.Size(58, 49)
Me.tsPayment.Text = "Payment"
Me.tsPayment.TextImageRelation =
System.Windows.Forms.TextImageRelation.ImageAboveText
'
'tsCustomer
'
Me.tsCustomer.DropDownItems.AddRange(New
System.Windows.Forms.ToolStripItem()
{Me.AddCustomerToolStripMenuItem,
Me.ManageCustomerToolStripMenuItem})
Me.tsCustomer.Image =
CType(resources.GetObject("tsCustomer.Image"), System.Drawing.Image)
Me.tsCustomer.ImageTransparentColor =
System.Drawing.Color.Magenta
Me.tsCustomer.Name = "tsCustomer"
Me.tsCustomer.Size = New System.Drawing.Size(72, 49)
Me.tsCustomer.Text = "Customer"
Me.tsCustomer.TextImageRelation =
System.Windows.Forms.TextImageRelation.ImageAboveText
'
'AddCustomerToolStripMenuItem
'

11
Me.AddCustomerToolStripMenuItem.Name =
"AddCustomerToolStripMenuItem"
Me.AddCustomerToolStripMenuItem.Size = New
System.Drawing.Size(172, 22)
Me.AddCustomerToolStripMenuItem.Text = "Add Customer"
'
'ManageCustomerToolStripMenuItem
'
Me.ManageCustomerToolStripMenuItem.Name =
"ManageCustomerToolStripMenuItem"
Me.ManageCustomerToolStripMenuItem.Size = New
System.Drawing.Size(172, 22)
Me.ManageCustomerToolStripMenuItem.Text = "Manage Customer"
'
'tsStaff
'
Me.tsStaff.Image =
CType(resources.GetObject("tsStaff.Image"), System.Drawing.Image)
Me.tsStaff.ImageTransparentColor =
System.Drawing.Color.Magenta
Me.tsStaff.Name = "tsStaff"
Me.tsStaff.Size = New System.Drawing.Size(35, 49)
Me.tsStaff.Text = "Staff"
Me.tsStaff.TextImageRelation =
System.Windows.Forms.TextImageRelation.ImageAboveText
'
'tsSettings
'
Me.tsSettings.Image =
CType(resources.GetObject("tsSettings.Image"), System.Drawing.Image)
Me.tsSettings.ImageTransparentColor =
System.Drawing.Color.Magenta
Me.tsSettings.Name = "tsSettings"
Me.tsSettings.Size = New System.Drawing.Size(53, 49)
Me.tsSettings.Text = "Settings"
Me.tsSettings.TextImageRelation =
System.Windows.Forms.TextImageRelation.ImageAboveText
'

12
'tsReport
'
Me.tsReport.DropDownItems.AddRange(New
System.Windows.Forms.ToolStripItem()
{Me.InvoiceReportToolStripMenuItem,
Me.PaymenReportToolStripMenuItem, Me.TaxReportToolStripMenuItem})
Me.tsReport.Image =
CType(resources.GetObject("tsReport.Image"), System.Drawing.Image)
Me.tsReport.ImageTransparentColor =
System.Drawing.Color.Magenta
Me.tsReport.Name = "tsReport"
Me.tsReport.Size = New System.Drawing.Size(55, 49)
Me.tsReport.Text = "Report"
Me.tsReport.TextImageRelation =
System.Windows.Forms.TextImageRelation.ImageAboveText
'
'InvoiceReportToolStripMenuItem
'
Me.InvoiceReportToolStripMenuItem.Name =
"InvoiceReportToolStripMenuItem"
Me.InvoiceReportToolStripMenuItem.Size = New
System.Drawing.Size(155, 22)
Me.InvoiceReportToolStripMenuItem.Text = "Invoice Report"
'
'PaymenReportToolStripMenuItem
'
Me.PaymenReportToolStripMenuItem.Name =
"PaymenReportToolStripMenuItem"
Me.PaymenReportToolStripMenuItem.Size = New
System.Drawing.Size(155, 22)
Me.PaymenReportToolStripMenuItem.Text = "Paymen Report"
'
'TaxReportToolStripMenuItem
'
Me.TaxReportToolStripMenuItem.Name =
"TaxReportToolStripMenuItem"
Me.TaxReportToolStripMenuItem.Size = New
System.Drawing.Size(155, 22)

13
Me.TaxReportToolStripMenuItem.Text = "Tax Report"
'
'tsAccount
'
Me.tsAccount.Image =
CType(resources.GetObject("tsAccount.Image"), System.Drawing.Image)
Me.tsAccount.ImageTransparentColor =
System.Drawing.Color.Magenta
Me.tsAccount.Name = "tsAccount"
Me.tsAccount.Size = New System.Drawing.Size(56, 49)
Me.tsAccount.Text = "Account"
Me.tsAccount.TextImageRelation =
System.Windows.Forms.TextImageRelation.ImageAboveText
'
'tsLogin
'
Me.tsLogin.Image =
Global.WaterBillingSystem.My.Resources.Resources.loginCLIP
Me.tsLogin.ImageTransparentColor =
System.Drawing.Color.Magenta
Me.tsLogin.Name = "tsLogin"
Me.tsLogin.Size = New System.Drawing.Size(41, 49)
Me.tsLogin.Text = "Login"
Me.tsLogin.TextImageRelation =
System.Windows.Forms.TextImageRelation.ImageAboveText
'
'ToolStripSeparator1
'
Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
Me.ToolStripSeparator1.Size = New System.Drawing.Size(6, 52)
'
'Form1
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(953, 509)
Me.Controls.Add(Me.ToolStrip1)
Me.IsMdiContainer = True
Me.Name = "Form1"
14
Me.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Water Billing System"
Me.WindowState =
System.Windows.Forms.FormWindowState.Maximized
Me.ToolStrip1.ResumeLayout(False)
Me.ToolStrip1.PerformLayout()
Me.ResumeLayout(False)
Me.PerformLayout()

End Sub

Friend WithEvents ToolStrip1 As ToolStrip


Friend WithEvents tsInvoice As ToolStripButton
Friend WithEvents tsStaff As ToolStripButton
Friend WithEvents tsSettings As ToolStripButton
Friend WithEvents tsLogin As ToolStripButton
Friend WithEvents tsCustomer As ToolStripDropDownButton
Friend WithEvents AddCustomerToolStripMenuItem As
ToolStripMenuItem
Friend WithEvents ManageCustomerToolStripMenuItem As
ToolStripMenuItem
Friend WithEvents tsReport As ToolStripDropDownButton
Friend WithEvents InvoiceReportToolStripMenuItem As
ToolStripMenuItem
Friend WithEvents PaymenReportToolStripMenuItem As
ToolStripMenuItem
Friend WithEvents TaxReportToolStripMenuItem As
ToolStripMenuItem
Friend WithEvents tsPayment As ToolStripButton
Friend WithEvents tsAccount As ToolStripButton
Friend WithEvents ToolStripSeparator1 As ToolStripSeparator End Class

15
 OUTPUT

16
17
18
19
 CONCLUSION

This chapter has covered some of the basic aspects of the language and the .NET
Framework as preparation for diving into the deeper details. From here, the
discussion moves on to the fundamental types that all programs use, such as
Integer .

Here are some style points to consider. o Although the language is very relaxed in
regard to casing, it is always a good idea to use correct casing because this
increases the readability and understandability of code. The Visual Studio IDE
will usually correct casing. o In general, it is best to specify syntax even if it is
optional. The Visual Studio IDE will usually insert optional syntax if it is
omitted.

20
 REFERENCES

www.google.com

Book of GUI application Using VB.NET


https://www.sourcecodester.com/visual-basic-net/12816/billing-
system-usingvbnet-and-ms-access-database.html
www.youtube.com

21

You might also like