Department Subject Code
Department Subject Code
MICRO PROJECT
(Academic year: 2023-24)
TITLE OF PROJECT
CODE: 22034
SUBMITTED BY:
SUBMITTED TO:
1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTIFICATE
Seal of Institution
2
INDEX
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.
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
' 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.
6
PasswordTextBox.Clear()
UsernameTextBox.Clear()
UsernameTextBox.Focus()
End Sub End
Class
Form.vb
7
End Sub
8
End Sub End
Class
Form1.vb
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
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
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
21