You are on page 1of 19

PROJECT NAME:

CANDIDATE NAME:

CANDIDATE NUMBER:

SCHOOL:
ANALYSIS

INTRODUCTION
Existing System:
Car rental service will help users to book a car for some fee specified. Till now there was no
clear UI to help the users to rent the vehicle. They had to manually rent the vehicle through their
offices. It was a difficult task to manage rental vehicles. Keeping track of all the rental cars was
a problem.
Problems with current system:
The current Car Rental system is now facing problems with some of its operations because it is
manually run.
 Prone to more errors
 More labour work
 Time consuming
 There are too many files, which make it possible that they can be mixed up, and get lost.

DESCRIPTION OF CURRENT SYSTEM

DFD

Car Maintenance
Manager

Updation Renew Car


Records

Order Car Rental Update Car Records


System Employee
Customer
Order Reject
Give Details

Car Details
Generate Receipt
Check for Order

Owner

Objectives
This project is designed to aid the car rental company to enable renting of cars. It helps the
users to search for available cars view profile and book the cars for the time period. It has a
user-friendly interface which helps the user to check for cars and rent them for the period
specified. Based on the type of car required by the customer, the user shall be able to make
bookings. This system makes the bookings easy. It saves time and labour. The tool shall ask the
user for information such as the date and time of journey, type of car etc. Also, it will need an
identification number. Using these details, the tool shall help the customer to book a car for
the journey.

Proposed Solutions

Solution 1: Manual Paperwork


Advantages of solution 1
-Less user training required

Disadvantages of solution 1
-Prone to more human error

Solution 2 – Computerized Solution

Advantages of solution 2
-Less human error

Disadvantages of solution 2
-Extensive user training required

Chosen Solution – Computerized Solution

This tool will enable the user to rent a vehicle. The user shall login to the system and check for
availability of cars. The user specifies a type of car and the date and time. The system shall
check for the availability of the car and rent the car to the customer... The tool is designed
using VB.net. All the data regarding the rental cars are stored in Ms Access database. The user
has to enter his name, address, phone details and check for the cars available for rent. The UI
is very simple and the connectivity to backend is robust. The main advantage is that the user
shall be able to choose a car depending on his budget.
Advantages of computerized system

 Easier management of transactions


 Calculate rental costs in real-time
 Simpler rental process for clients
 Better documentation for rental companies

Limitations
 Need to train staff
 Need to buy hardware and software

DESIGN
Aims

 Fast
 Efficient
 Accurate
 Reliable

Objectives
 It should be able to store files for applying clients.
 It should be able to update records about clients who are registered, booking records and
total amount of money earned.
 It should be able to do calculations for late fee fine.

SYSTEM FLOWCHART
Data Dictionary
Tblcustomer
This table is for adding customers
ID Auto number
FULL_NAME Long text
AGE Number
ADDRESS Long text
CONTACT_NUMBER Number
DRIVER_LICENSE_NUMBER Short text
EMAIL_ADD Short text
studinmg OLE Object

Tblpenalty
This table is for late car return fee
ID Auto number
FULL_NAME Short text
PENALTY Currency
PROCESSED_BY Short text

Tblcar
This table id for adding new car to the system
CAR_ID Auto number
CAR_NAME Short text
PLATE_NUMBER Short text
CAR_BRAND Short text
CAR_SEATS Number
CAR_CONDITION Short text
RENT_PER_DAY Currency
Studinmg OLE object
STATICS Short text

Tblrentcar
This table is for car rental details
ID Auto number
FULL_NAME Short text
CAR_NAME Short text
RENT_DATE DATE/TIME
RENT_PER_DAY Currency
NO_DAYS Number
TOTAL Currency
PROCESSED_BY Short Text

Entity Relationship Diagram [ERD]


Program Flowchart
ADD NEW CUSTOMERS
Enter
Details

Click register Usernam


e
Exists?

Confirm &
Submit

SAVED

n
Confirmatio
Send email

SYSTEM LOGIN AND MEMBER MODIFICATION


Start
E-car rental
system

N
o

Logi Valid
n ?
SYSTEM
DISPLAY Ye
s

Modify
profile
Payment of Car Rent

Confirm &
Submit

Update
database

Send
confirmation

Logou
t
Provide User ID

Check rental Detail

Yes
Overdue?

No
Pay Late Charges

Merge

Confirm Return

Update Database

Hardware Requirements
RAM 2 GB

Monitor To read what is on the screen

Hard disk to store the process information

Key board to enter details

Mouse To select and click buttons

Software requirements

Microsoft Office Word


Windows 10 Professional
Anti-virus

IMPLEMENTATION

The project was created using Microsoft Visual Studio 2010, with Microsoft Access and backend
database.

TESTING

Software testing is a critical element of software quality assurance and represents the ultimate
review of specification, design and coding. In fact, testing is the one step in the software
engineering process that could be viewed as destructive rather than constructive.
A strategy for software testing integrates software test case design methods into a well-planned
series of steps that result in the successful construction of software. Testing is the set of activities
that can be planned in advance and conducted systematically. The underlying motivation of
program testing is to affirm software quality with methods that can economically and effectively
apply to both strategic to both large and small-scale systems.

TEST SCREENS
ADD CAR TEST

ADD CUSTOMER TEST


LOGIN TEST

SYSTEM LAYOUT
CODE LISTINGS
ADDING CUSTOMERS
Private Sub btnsave_Click (ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles btnsave.Click
If Txtfullname.Text.Equals (String.Empty) and _
Txtage.Text.Equals (String.Empty) and _
Txtaddress.Text.Equals (String.Empty) and _
Txtcontactno.Text.Equals (String.Empty) and _
Txtdriverlicense.Text.Equals (String.Empty) and _
txtemail.Text.Equals (String.Empty) Then

Messagebox.show ("Please fill in all the required inputs", "FBS Car Rental
System", MessageBoxButtons.OK, MessageBoxIcon.Warning)

Else

Try

Dim mstream As New System.IO.MemoryStream


PictureBox1.Image.Save (mstream, System.Drawing.Imaging.ImageFormat.Jpeg)
ArrImage = mstream.GetBuffer
Dim filesize As UInt32
Filesize = mstream.Length

mstream.Close ()
conn.ConnectionString = Myconnection

conn.Open ()

Sql = "INSERT INTO tblcustomer (FULL_NAME, AGE, ADDRESS, CONTACT_NO,


DRIVER_LICENSE_NO, EMAIL_ADD, studimg)” & _
" VALUES (@FULLNAME, @AGE, @ADDRESS, @CONTACT_NO, @DRIVER_LICENSE_NO,
@EMAIL_ADD, @studinmg)"

cmd.Connection = conn
cmd.CommandText = sql
cmd.Parameters.AddWithValue ("@FULLNAME", Txtfullname.Text)
cmd.Parameters.AddWithValue ("@AGE", Txtage.Text)
cmd.Parameters.AddWithValue ("@ADDRESS", Txtaddress.Text)
cmd.Parameters.AddWithValue ("@CONTACT_NO", Txtcontactno.Text)
cmd.Parameters.AddWithValue ("@DRIVER_LICENSE_NO", Txtdriverlicense.Text)
cmd.Parameters.AddWithValue ("@EMAIL_ADD", txtemail.Text)
cmd.Parameters.AddWithValue ("@studimg", arrImage)

Dim r As Integer
r = cmd.ExecuteNonQuery ()
If r > 0 Then
MsgBox ("New customer record has been saved!")
conn.Close ()
Call Btnload_Click (sender, e)
Cleartextfields ()
PictureBox1.Image = Nothing
Else
MsgBox ("No customer record has been saved!")
End If
conn.Close ()

Catch ex As Exception
If ex.Message = "Object reference not set to an instance of an object."
Or _
ex.Message = "Data type mismatch in criteria expression." Then
MessageBox.Show ("Please fill in all the required inputs", "FBS Car
Rental System", MessageBoxButtons.OK, MessageBoxIcon.Warning)
Else
InputBox ("", "", ex.Message)
End If
End Try
End If

End Sub

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


System.EventArgs) Handles Txtsearch.TextChanged
Try

conn.Open ()
Dbdt = New DataTable

With dbcmd
.Connection = conn
.CommandText = "Select * from tblcustomer where FULL_NAME like '" &
Txtsearch.Text & "%'"
End With

dbda.SelectCommand = dbcmd
dbda.Fill (dbdt)

DataGridView1.DataSource = dbdt

Catch ex As Exception
MsgBox (ex.Message)
End Try
dbda.Dispose ()

conn.Close ()
End Sub

RENTING A CAR
Try
Sql = "INSERT INTO
tblrentcar(FULL_NAME,CAR_NAME,PLATE_NO,RENT_DATE,RENT_PER_DAY, NO_DAYS,TOTAL,PROCESS_BY)
VALUES ('" & Cboxcustomer.Text & "','" & Cboxcarname.Text & "','" & Txtboxplate.Text &
"', '" & DateTimePicker1.Value & "','" & Txtrent.Text & "','" & Txtnodays.Text & "', '" &
Txtotal.Text & "','" & Txtprocess.Text & "')"

conn.Open ()
With dbcmd
.CommandText = Sql
.Connection = conn
End With

Result = dbcmd.ExecuteNonQuery
If result > 0 Then
MsgBox ("New carrent record has been saved!")
conn.Close ()
Call Btnload_Click (sender, e)
Cleartextfields ()

Else
MsgBox ("No carrent record has been saved!!")
End If

Catch ex As Exception
MsgBox (ex.Message)
Finally
conn.Close ()
End Try

Try
Sql = "INSERT INTO tblrentdetails (CAR_NAME, FULL_NAME, RENT_DATE,
PROCESS_BY) VALUES ('" & Cboxcarname.Text & "','" & Cboxcustomer.Text & "','" &
DateTimePicker1.Value & "','" & Mainform.Label3.Text & "')"
conn.Open ()
With dbcmd
.CommandText = Sql
.Connection = conn
End With
dbcmd.ExecuteNonQuery ()
Catch ex As Exception
MsgBox (ex.Message)
Finally
conn.Close ()
End Try
Btnpayment.Enabled = True
End Sub
Private Sub DataGridView1_CellClick (ByVal sender As Object, ByVal e As
System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick
Me.Text = DataGridView1.CurrentRow.Cells (0).Value.ToString
Cbcusname.Text = DataGridView1.CurrentRow.Cells (1).Value.ToString
Cbcarname.Text = DataGridView1.CurrentRow.Cells (2).Value.ToString
Txtpno.Text = DataGridView1.CurrentRow.Cells (3).Value.ToString
DateTimePicker2.Value = DataGridView1.CurrentRow.Cells (4).Value
Txtrday.Text = DataGridView1.CurrentRow.Cells (5).Value.ToString
Txtndays.Text = DataGridView1.CurrentRow.Cells (6).Value.ToString
Txttotal.Text = DataGridView1.CurrentRow.Cells (7).Value.ToString
Txtproces.Text = DataGridView1.CurrentRow.Cells (8).Value.ToString
Txtstatus.Text = DataGridView1.CurrentRow.Cells (9).Value.ToString
End Sub

ADDING NEW ADMIN


Try
Sql = "INSERT INTO tbladmin (ADMIN_USER, ADMIN_PASS) VALUES ('" &
txtuser.Text & "','" & Txtpass.Text & "')"
conn.Open ()
With dbcmd
.CommandText = Sql
.Connection = conn
End With

Result = dbcmd.ExecuteNonQuery
If result > 0 Then
MsgBox ("New admin record has been saved!")
conn.Close ()

Else
MsgBox ("No admin record has been saved!")
End If

Catch ex As Exception
MsgBox (ex.Message)
Finally
conn.Close ()

End Try
End Sub

TECHNICAL DOCUMENTATION

Using the system

Open car rental folder

Install AccessDatabaseEngine that will enable you to run the program.


After installation is done open Carrentalsystem folder.

Then open Carrentalsystem

Then open the bin folder

Then finally open Debug folder


And finally open the Carrentalsystem application to run it and then a login will appear
Username: admin
Password: admin

You might also like