BanQuet Management System BlackBook

75
BanQuet Management System Page | 1 2011-2012 Project Entitled Submitted by Mr. XXXXXX Guided by Prof. XXXXXXXXXX Bachelor of Science Department of Computer Science XXXXX of Arts, Science and College, Mumbai-31 BanQuet Hall Management System

description

TYBSC Computer Science - Project Black Book

Transcript of BanQuet Management System BlackBook

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 1

2011-2012Project Entitled

Submitted by

Mr. XXXXXX

Guided by

Prof. XXXXXXXXXX

Bachelor of Science

Department of Computer Science

XXXXX of Arts, Science and College, Mumbai-31

BanQuet Hall Management System

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 2

XXXXXXXXX COLLEGE OF COMMERCE & ECONOMIC AND

XXXXXXXX COLLEGE OF SCIENCE

DEPARMENT OF COMPUTER SCIENCE

Certificate

This is to certify that Mr. XXXXXXXXXXXX (Seat No: ) has

successfully completed the project entitled “BanQuet Hall Management

System” undertaken at the XXXXXXX College under the guidance of Prof.

XXXXXXX towards partial fulfillment of Bachelor of Science in the subject

of Computer Science of University of Mumbai during the academic year 2011-

2012.

Internal Guide Head of Department

College seal External Examiner (With Date)

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 3

ACKNOWLEDGMENT

I express gratitude and thanks to Almighty God, my Parents and friends

without whose unsustained support, I could not have made my career in Computer

Science. I would also like to express my sincere gratitude towards the Owner of

XXXXXX Hall, Mr. XXXXXXXX for giving me his precious time and support for

completing this project.

I wish to place on my record my deep sense of gratitude to my project guide,

Mrs. CCCCCCCCCC, Head of the Department of Computer Science for her

constant motivation and valuable help through the project work. She has taken pain

to go through the project and make necessary correction as and when needed.

I also extend my thanks to other Faculty members, lab attendants,

engineering dept. and staff members for their Cooperation for without whom this

project would have been distant reality.

CCCCCCCCCCCCT.Y.BSc Computer Science

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 4

Table of Contents:

Sr. No. Contents Page No.I. Preliminary Investigation 5

i Organizational Overview. 6ii Description of System 6

iii Limitations of present system 7iv Proposed system and its adv 7v Feasibility Study 8

vi Stakeholders 10vii Gantt chart 11

II System Analysisi Fact Finding Technique(Questionnaire)

ii Event Tableiii Use Case Diagramiv Entity Relationship Diagramv Activity Diagram

vi Class Diagramvii Object Diagram

viii Sequence Diagramix State Diagram

III System Designi Converting ERD to Tables

ii Design Class Diagramsiii Component Diagramsiv Package Diagramv Deployment Diagram

vi Structure Chart(System Level)IV System Coding

i Menu Treeii List of Tables

iii Program Description and Naming Conventioniv Validationsv Test Cases

vi Screen Layouts & Report LayoutsProgram Listing

V System ImplementationVI Future EnhancementsVII References and Bibliography

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 5

I. Preliminary Investigation

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 6

Organizational Overview

XXXXX PARTY HALL is a managed hall that is being used for various functions and purposes like Marriages, Engagements, Birthday parties, Thread ceremonies (Janoi), Child naming (Namkaran) Ceremonies, Anniversary parties, Baby Shower (Godh bharai), Meetings/Conferences/ Workshops, Prayer meetings, Surveys etc. And also for long term activities like Dance classes, Yoga classes, Tuition classes, Karate classes etc. It is Located at CCCC (E).

Their are three Different Halls booked together or separately. The Main hall, Shop Line Hall and Dining Hall. Main Hall has a stage for various uses. It is Air-conditioned hall with well-Furnished glazed flooring. The people managing the hall are qualified professionals dedicated to their works.

Description of System

Every Organisation needs to manage all the different activities in organisation. It is managed by a Manager or the owner.

Owner manages booking of halls, Checks availability of halls, advance and balance Payment by the customers.

Categorising pricelist according to customer’s requirement and for time, space and services utilized by clients for the function.

Manager maintains each and every record for ease of its work.

Manager keeps track of all the upcoming functions and arrangements to be made.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 7

Limitations of Present System

Currently the organisation is keeping records in paper and registers. The limitations of such a system can be easily lost or wearied and may result in misuse or permanent loss of important data.

Record regarding payments and availability also needs authentication from unauthorized users. Staff details and other details like maintenance, cleaning, caterers also need to be maintained in order.

Maximum work of billing and receipts is hand written and also a bit time consuming.

Proposed system and Its Advantages:

Maintain the records of all the customers and long term clients.

Maintain the records of all the caterers, cleaning, decoration and maintenance staff.

Maintaining and printing bills, keeping record of advance and balance payments.

Maintaining the availability of dates of halls.

Easy addition (insertion), retrieval and updating of client details and requirements.

Client/Customer feedbacks and suggestions can be entered and taken in to consideration for further development.

Manager and staff logins are different and have specific rights to access, retrieve or update data.

Generate reports on progress of the banquet hall on monthly basis.

Data and Report can be generated as a when required by the user.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 8

Feasibility Study:

An analysis has been done before “BanQuet Hall Management System” was taken into consideration for development. A detailed discussion on the process and uses was done with the owner and thus we agreed on proceeding with this project.

Technology and system feasibility

XXXXXXX Party Hall is a hall business. It includes registering new incoming events, checking of the available dates and maintaining the condition of the current premises.

The currently developed system takes care of the major business part that is, maintaining records of events and customers. It also helps the owner to keep records of the employees. This software has keyboard and mouse inputs. The output can be operated on screen or in few cases a hard copy can also be retrieved by the user

The system can be operated by manager and the owner. The system can also be used by multiple users in case of future enhancement and expansion of the business. All the details of the operation and functioning of the software will be made available to the user.

As much as possible the project will tried to make error free, but there is some probability of errors in the system as hardware or operating system problems. In case of corruption of the software, there will be no harm to database and software can be reinstalled and all the data can be retrieved and worked upon again.

Economic feasibility

This Software helps the user economically in the following way:

Cost-based study: The development cost is very less than all the other available software’s in market; since it the first version of the software. It will also prove to be very profitable keeping in mind the other high valued software’s. Operation of the software will be the only cost of electricity used by the computer used and may rise in case if a person is hired to operate the software.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 9

Time-based study: The time required to achieve returns on investment on this software is minimal as the software itself is of minimum cost with one year’s support and free up-gradation of the software is included. The future version of the software’s may be available on higher prices and

Operational feasibility

Total working capacity of the organization will be improved. Also the maintaining of records without loss and detoriation will be taken care of which will also save space occupied by registers and ease of searching and updating the details.

Schedule feasibility

The project is estimated to be completed within a year. The basic software is installed in to the user’s system on testing basis. The dates of the deadlines are desirable and in case of delay of more than three months, the entire amount will be paid back within next one month’s time.

System Requirements:

Hardware SpecificationsProcessor Type Intel Pentium III 733 MHz or

higher.System RAM 256 MB minimumHard Disk 10 GB Recommended

Software RequirementsOperating System Microsoft XP professional SP2 or

laterFront End Visual Studio 2008 or higherBack End SQL server 2005 or higher

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 10

Stake Holders

A stakeholder is any individual or organization that is affected by the activities of a business. They may have a direct or indirect interest in the business, and may be in contact with the business on a daily basis, or may just occasionally.

Stakeholders are defined as "those groups without whose support the organization would cease to exist."

The main stakeholders are:

Admin:- The Admin is the Owner of the Hall

Manager: Manager has got all the Rights to Add, Update and Delete records

about the Customers, Functions and Staff.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 11

Gantt chart

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 12

II. System Analysis

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 13

Fact Finding Techniques (Questionnaire)

Following Questions were asked to the development officer during the initial phase of project development.

What is your working process? Is it manual or computerised? How do you store data? How do you maintain your data? What are the Software’s you use to manage your data? What are the System Requirement? How are the advantages of the current system? What are the Disadvantages of the Current System?

Event Table

The event table is a table of data that is typically written to the log file for each scenario and also appears in the Analysis window. The event table contains timing information about specific events that occur during the scenario. Only stimulus events with event codes will appear in the event table.

Sr.no Event Trigger Source Activity Response Destination

1. New EventEnter Event

DetailsAdmin

Insert Event Details

Added New Event

Database

2.New

Employee

Enter Customer

DetailsAdmin

Insert Customer

Details

Added New Customer

Database

3.New

Customer

Enter Employee

DetailsAdmin

Insert Employee

Details

Added New Employee

Database

4.New

RequirementEnter New

RequirementsStaff / Admin

Insert Requirement

Details

Added New Requirement

Database

5.New Hall Booking

Enter Booking Details

AdminInsert

Booking Details

Added New Booking

Customer / Database

6. BillEnter Bill

DetailsAdmin

Retrieve Bill Details

Bill Details Retrieved

Customer / Database

7. MaintenanceEnter

Maintenance Records

Staff / Admin

Enter Maintenance

Records

Reports Entered

Database / Admin

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 14

Use Case Diagram

A use case is a set of scenarios that describing an interaction between a user and a system. The two main components of a use case diagram are use cases and actors. In many design processes, the use case diagram is the first that designers will work with when starting a project. The main purpose of a use case diagram is to show what system functions are performed.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 15

ERD

An entity-relationship diagram is a data modeling technique that creates a graphical representation of the entities, and the relationships between entities, within an information system.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 16

Activity DiagramActivity diagrams describe the workflow behavior of a system. The diagrams describe the state of activities by showing the sequence of activities performed. Activity diagrams show the flow of activities through the system. Diagrams are read from top to bottom and have branches and forks to describe conditions and parallel activities.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 17

Class Diagram

A class is a system entity that models a real-world object. A class is made up of attributes which define the information that each class knows about itself and operations which are the processes that a class can carry out.  Often you will see operations referred to as methods.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 18

Object Diagram

An Object diagram focuses on some particular set of object instances and attributes, and the links between the instances. A correlated set of object diagrams provides insight into how an arbitrary view of a system is expected to evolve over time. Object diagrams are more concrete than class diagrams, and are often used to provide examples, or act as test cases for the class diagrams. Only those aspects of a model that are of current interest need be shown on an object diagram.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 19

Sequence Diagram

Sequence diagrams belong to a group of UML diagrams called Interaction Diagrams.  Sequence diagrams describe how objects interact over the course of time through an exchange of messages.  A single sequence diagram often represents the flow of events for a single use case.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 20

State Diagram

State diagrams describe all of the possible states of an object as events occur. Each diagram usually represents objects of a single class and tracks the different states of its objects through the system.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 21

III.System Design

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 22

Converting ERD to Tables

Name: Event

Description: The table stores the details of the Event.

Name: Hall

Description: The table stores the details of the Hall.

Name: Package

Description: The table stores the details of the packages.

Name: Customer

Description: The table stores the details of the Customers.

Field Type SizeEvent_id Int DefaultEvent_name Varchar 30Event_date Varchar 30Event_Time Varchar 30No of Guest Int Default

Field Type SizeHall_id Int DefaultHall_Name Varchar 30Hall_Location Varchar 90Hall_Capacity Int DefaultHall_Cost Numeric 9,2

Field Type SizePackage _id Int DefaultPackage _Name Varchar 30Package_Cost Numeric 9,2Package_Items Varchar 30

Field Type SizeCustomer_id Int DefaultCustomer_Name Varchar 30Customer_Address Numeric 90Customer_Contact Varchar 30Customer_Email Varchar 30

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 23

Name: Employees

Description: The table stores the details of the Customers.

Name: SweetDish

Description: The table stores the details of the SweetDishes.

Field Type SizeEmpid Int DefaultFname Varchar 30Mname Varchar 30Lname Varchar 30Dob Varchar 20Gender Varchar 12Cont bigint DefaultEmail Varchar 30Addr Varchar 30Panno Varchar 10Dept. Varchar 20Post Varchar 20Joindate Varchar 20Sal Numeric 9,2empQual Varchar 200empExpr Varchar 200

Field Type SizeSdid Int DefaultSdname Varchar 30Sdprice Varchar 30

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 24

Design Class Diagram

a. User Interface Classes

User interface-flow diagrams are typically used for one of two purposes. First, they are used to model the interactions that users have with your software, as defined in a single use case. Because user interface-flow diagrams offer a high-level view of the interface of a system. user interface-flow diagrams can be used to determine if the user interface will be usable. If there are many boxes and many connections, it may be a signal to you that your system is too large for people to learn and understand.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 25

b. Persistent Classes

Persistent Classes are user defined classes whose instances can be stored in a database. Instances of these classes that represent objects in the database are called persistent objects or persistent instances. Objects that do not represent anything in the database are called transient objects or transient instances.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 26

Component Diagram

The component diagram's main purpose is to show the structural relationships between the components of a system. Components are wired together by using an assembly connector to connect the required interface of one component with the provided interface of another component.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 27

Package Diagram

Package diagrams can use packages that represent the different layers of a software system to illustrate the layered architecture of a software system. The dependencies between these packages can be adorned with labels / stereotypes to indicate the communication mechanism between the layers.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 28

Deployment Diagram

The nodes appear as boxes, and the artifacts allocated to each node appear as rectangles within the boxes. Nodes may have subnodes, which appear as nested boxes. A single node in a deployment diagram may conceptually represent multiple physical nodes, such as a cluster of database servers.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 29

Structure Chart(System Level)

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 30

IV.System Coding

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 31

Menu Tree

List of Tables with Attributes and Constrains

Name: Bill

Description: The table stores the details of Bills.

Field Type Size Key Null Descriptionbillid Int default Primary Not null Id of the billbookdate Varchar 20 Null Date of Bookinghallcost Numeric (9,2) Null Cost of hallpackagecost Numeric (9,2) Null Cost of packageswtdshcost Numeric (9,2) Null Cost of SweetDishtotalbill Numeric (9,2) Null Total Costpaymode Varchar 20 Null Mode of Paymentchqno Varchar 20 Null Cheque no.chqdate Varchar 20 Null Date on cheque

Name: Customer

Description: The table stores the details of Customer.

Field Type Size Key Null Descriptioncustid Int default Primary Not null Id of the customercustfname Varchar 30 Null First name of the customercustlname Varchar 30 Null Last name of the customercustcontact1 Varchar 11 Null Contact no. of customercustcontact2 Varchar 11 Null Contact no. of customercustemail Varchar 70 Null Email of customercustadd Varchar 300 Null Customer’s address

Main

Manage Add New Event LogoutChange Password

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 32

Name: Employee

Description: The table stores the details of Employee.

Field Type Size Key Null DescriptionEmpid Int Default Primary Not null Id of the employeeFname Varchar 20 Null First Name of employeeMname Varchar 20 Null Middle Name of employeeLname Varchar 20 Null Last Name of employeeDob Varchar 20 Null Date of birth of employeeGender Varchar 12 Null Gender of the employeeCont Bigint Default Null Contact no. of the employeeEmail Varchar 50 Null Email id of the employeeAddr Varchar 200 Null Address of the employeePanno Varchar 10 Null Pancard no of the employeeDept Varchar 20 Null Department in which the

employee is workingPost Varchar 20 Null Post on which the employee

is workingJoindate Varchar 10 Null Date of joining of

employeeSal Numeric (9,2) Null Salary of the employeeempqualification

Varchar 200 Null Qualification of the employee

Empexpr Varchar 200 Null Experience of the employee

Name: Hall

Description: The table stores the details of Hall.

Field Type Size Key Null DescriptionHallid Int Default Primary Not null Id of the hallHallname Varchar 30 Null Name of the HallHallloc Varchar 90 Null Location of the HallHallcapacity

Int Default Null Capacity of the hall

Hallprice Numeric

9,2 Null Price of the hall

Name: Sweet Dish

Description: The table stores the details of Spare Parts.

Field Type Size Key Null DescriptionSdid Int Default Primary Not null Id of the dish

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 33

Sdname

Varchar 30 Null Name of the dish

Sdprice Numeric (9,2) Null Price of the dishName: Package

Description: The table stores the details of Employee.

Field Type Size Key Null DescriptionPckid Int Defaul

tPrimary Not

nullId of the package

Pckname Varchar 30 Null Name of the PackagePckprice Numeric 9,2 Null Price of the packagePckit1 Varchar 30 Null Item in the packagePckit2 Varchar 30 Null Item in the packagePckit3 Varchar 30 Null Item in the packagePckit4 Varchar 30 Null Item in the packagePckit5 Varchar 30 Null Item in the packagePckit6 Varchar 30 Null Item in the packagePckit7 Varchar 30 Null Item in the packagePckit8 Varchar 30 Null Item in the packagePckit9 Varchar 30 Null Item in the package

Name: Event

Description: The table stores the details of Events.

Field Type Size Key Null DescriptionEventid Int Default Primary Not null Id of the eventEventname Varchar 30 Null Name of the EventEventsdate Varchar 30 Null Start date of the EventEventedate Varchar 30 Null End Date of the eventEventstime Varchar 30 Null Start time of the EventEventetime Varchar 30 Null End time of the eventEventeguest

Varchar 30 Null Estimated guest at the event

Custid Int default Foreign Null Customer related to the Event

Hallid Int default Foreign Null Hall booked for the eventPckid Int default Foreign Null Package booked for the

eventSdid Int default Foreign Null Sweet dish booked for the

eventBillid Int default Foreign Null Bill no generated for the

event

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 34

Program Description and Naming Convention

Sr.No Class Name Page Name Description 1. Splash Splash.vb Splash form 2. Login LoginForm.vb Login form 3. Main MainPage.vb Main form 4. Manage Manage.vb To add, search, delete

& update in All the Modules of the System

5. Package Details PackageDet.vb To add and update records in Packages

6. Sweet Dish Details

SweetDishDet.vb To add and update records in Packages

7. Hall Details HallDet.vb To add and update records in Sweet Dish

8. Employee Details

EmployeeDet.vb To add and update records in Employee

9. Check Hall Availability

CheckAvail.vb To Check Availability of Hall

10. Add Package to Event

AddPackage.vb To Add Package to Event

11. Add Package to Event

AddCustomer.vb To Add Customer to Event

12. System Users Authenticate.vb To add, search, delete & update System Users

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 35

Validations

Login Page – Maximum three attempts

Private Sub Login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Login.Click con.Close() Dim cmd As New SqlCommand("select * from login where loginname='" & TextBox1.Text & "'", con) Dim sdr As SqlDataReader Dim b As Boolean con.Open() cmd.Connection = con sdr = cmd.ExecuteReader b = sdr.Read If b = True Then If TextBox1.Text = sdr(0) And TextBox2.Text = sdr(1) Then If TextBox1.Text = "admin" Or TextBox1.Text = "a" Then

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 36

MainPage.Label7.Text = TextBox1.Text MainPage.LinkLabel1.Enabled = True MainPage.LinkLabel6.Enabled = False MainPage.Show() Me.Hide() Else MainPage.Label7.Text = TextBox1.Text MainPage.LinkLabel1.Enabled = False MainPage.LinkLabel6.Enabled = True MainPage.Show() Me.Hide() End If Else If i > 2 Then MessageBox.Show("Login Attempts Exceeded", "Login Error", MessageBoxButtons.OK, MessageBoxIcon.Hand) End Else MessageBox.Show("Wrong Password. Attempts Made " & i, "Login Error", MessageBoxButtons.OK, MessageBoxIcon.Error) i = i + 1 End If End If Else MessageBox.Show("InValid User. Login Attempts Made " & i, "Data Read Error") i = i + 1 If i > 3 Then MessageBox.Show("Login Attempts Exceeded", "Login Error", MessageBoxButtons.OK, MessageBoxIcon.Hand) End End If End If sdr.Close() con.Close()End Sub

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 37

Authenticate Page – password

Private Sub TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox3.TextChanged len = TextBox3.Text.Length If len > 16 Then MessageBox.Show("Password Cannot Be More Than 16 Characters", "Password Error", MessageBoxButtons.OK, MessageBoxIcon.Information) End If End Sub Private Sub TextBox3_LostFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox3.LostFocus len = TextBox3.Text.Length If len < 7 Then MessageBox.Show("Password Cannot Be Less Than 7 Characters", "Password Error", MessageBoxButtons.OK, MessageBoxIcon.Information) TextBox3.Text = "" TextBox3.Focus()

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 38

End If End Sub

Private Sub TextBox4_LostFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox4.LostFocus If Not (TextBox3.Text = TextBox4.Text) Then MessageBox.Show("New Passwords Doest Not Match", "MisMatch", MessageBoxButtons.OK, MessageBoxIcon.Information) TextBox3.Text = "" TextBox4.Text = "" TextBox3.Focus() End If End Sub

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 39

New Event – Date and time, Customer Details, No field Blanks

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 40

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click If Label26.Text = "New" Then

If ComboBox1.SelectedItem = "" Then MessageBox.Show("Event Should be Selected from the Dropdown List", "Event Not Selected", MessageBoxButtons.OK, MessageBoxIcon.Information) Else

If TextBox9.Text = 0 Then MessageBox.Show("Hall Booking Failed", "Book Hall", MessageBoxButtons.OK, MessageBoxIcon.Information) Else

If TextBox21.Text = 0 Then MessageBox.Show("Total Cost Field Invalid. Please Click on the Calculate or Select Appropriate Values.", "Invalid Bill", MessageBoxButtons.OK, MessageBoxIcon.Information) Else

If DateTimePicker1.Value < Today Then DateTimePicker1.Value = Today MessageBox.Show("Date Already Past. Please Select an Appropriate Date", "Date is InValid", MessageBoxButtons.OK, MessageBoxIcon.Information) Else

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 41

If DateTimePicker2.Value < DateTimePicker1.Value Then DateTimePicker2.Value = DateTimePicker1.Value MessageBox.Show("Start Date and End Date Conflict. Please Select an Appropriate Date", "Date is InValid", MessageBoxButtons.OK, MessageBoxIcon.Information) Else

If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" Or TextBox5.Text = "" Or TextBox6.Text = "" Then MessageBox.Show("Invalid Customer or Empty Customer Deatils", "Invalid/Blank Customer Detail", MessageBoxButtons.OK, MessageBoxIcon.Error) Else If ComboBox2.SelectedItem = "" Then MessageBox.Show("Select Payment Mode", "Payment Mode Not Selected", MessageBoxButtons.OK, MessageBoxIcon.Information) Else If ComboBox2.SelectedItem = "Cheque" Then

If TextBox7.Text = "" Or TextBox8.Text = "" Then MessageBox.Show("Cheque Details Are Blank or Inapproriate", "Check Cheque Detail", MessageBoxButtons.OK, MessageBoxIcon.Information) Else If RadioButton1.Checked = True Then

“CODINGS………..” End If

End If End If End If End If End If End If End If End If End If End If

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 42

Email Address , Contact No. Validations have been done on New Event and New Employee FormsExample below – New Event Form

Private Sub TextBox3_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox3.KeyPress len1 = TextBox3.Text.Length If Char.IsDigit(e.KeyChar) = False And Char.IsControl(e.KeyChar) = False Then e.Handled = True MessageBox.Show("Please Enter Numeric Values Only(0 - 9)") End If End Sub

Private Sub TextBox5_LostFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox5.LostFocus If TextBox5.Text <> "" Then Dim r As Match = Regex.Match(Trim(TextBox5.Text), "^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,3})$", RegexOptions.IgnoreCase) If r.Success = False Then MessageBox.Show("Please Enter a Valid Email Address", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information) TextBox5.Text = "" TextBox5.Focus() Exit Sub End If End If End Sub

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 43

Test Cases

Sr.No

Component Name

Form Name

TestCondition

Procedure ExpectedOutput

Actual Result

1 Login LoginForm.vb

To check login form with valid input

Enter with blank Username, Password OR either anyone as blank OR Wrong User Name or Password & click on login button

It should display message “InValid User. Login Attempts” OR “Wrong Password. Attempts Made”

It display message “InValid User. Login Attempts”OR“Wrong Password. Attempts Made”

pass

2. Event Record

EventDet.vb

To Check if All the Data Is Entered Correctly According to the Select Event

All the Required Fields According to selected Event.

It should display messages According to the Errors

It display message According to the Error

Pass

3. Hall Record Hall Det.vb

To Check if the Details are Entered Correctly

Enter Characters in Price or capacity ColumnOR Blank Fields

It should display messages “Please Enter Numeric Values Only(0 - 9)”OR “All Fields anre Required”

It display messages “Please Enter Numeric Values Only(0 - 9)”OR “All Fields anre Required”

Pass

4. Package Record

PackageDet.vb

To Check if the Details are Entered Correctly

Enter Characters in Price or capacity ColumnOR Blank Fields

It should display messages “Please Enter Numeric Values Only(0 - 9)”OR “All Fields anre Required”

It display messages “Please Enter Numeric Values Only(0 - 9)”OR “All Fields anre Required”

Pass

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 44

Sr.No

Component Name

Form Name

TestCondition

Procedure ExpectedOutput

Actual Result

5. Employee Record

EmployeeDet.vb

To Check if the Details are Entered Correctly

Enter Characters in Price or capacity Column OR Invalid EmailOR Blank Fields

It should display messages “Please Enter Numeric Values Only(0 - 9)”OR “Please Enter a Valid Email Address” OR“All Fields anre Required”

It should display messages “Please Enter Numeric Values Only(0 - 9)”OR “Please Enter a Valid Email Address” OR“All Fields anre Required”

Pass

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 45

Screen Layout

1. Splash Screen

2. Login Form

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 46

3. MainPage

4. Manage Form

5. New Event

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 47

6. Check Hall Availability

7. Add Package

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 48

8. Add Customer

9. Bill

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 49

DELETED

10. New Hall

11. New Package

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 50

12. New Sweet Dish

13. New Employee

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 51

V.System Implementation

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 52

Implementation Procedure

After completion of each module of “BanQuet Hall Management System”, a small working model and the required database was created and installed on the system of the organization.

The Owner and Users were trained to use the system and their responses and suggestions for updating were noted. The suggestions were considered and changes were implemented wherever possible. The copy of the updated Model was once again installed and the same above procedure was repeated with the full system till the end user was satisfied sufficiently with the system.

An exe file was created by adding the current project to a setup project and then was built by using build project using build menu.

Once the project has completed with the coding the application, and tested on multiple machines, it is ready to be deployed. In order to deploy any application, the user can use the Publish wizard provided by Microsoft.

To Publish your application you have to perform the following steps:-

1) Start the Publish Wizard.2) Specify the location to publish the application.3) Select how the user will install the application4) Where will the application check for the updates.5) Select finish to Publish your application.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 53

Future Enhancements

No matter how much testing is done before deploying the project, there is probability of errors in the system. I have tried my best, so that there are no errors in the system. I will give support to the system and provide some maintenance work to it as and when required.

System Enhancements

For the system that is developed, there is a chance for more development.

Some ideas in my mind, of Enhancements of this system are as follow

To design such a system that can be used by many users at same time. System supporting credit card swapping and banking.

B a n Q u e t M a n a g e m e n t S y s t e m P a g e | 54

References and Bibliography

Reference:-

1. Beginning Microsoft® Visual Basic® 2008Publication - Wiley Publishing, Inc.By - Thearon Willis and Bryan Newsome.

2. Mastering Microsoft Visual Basic 2008Publication - Wiley Publishing, Inc.By – Evangelos Petroutsos and Mark Ridgeway.

Software’s:-1. Microsoft SQL Server 2005 Enterprise Edition

http://www.microsoft.com/download/en/details.aspx?id=21844.

2. Microsoft Visual Studio 2008 Professional Edition. https://www.dreamspark.com/Product/Product.aspx?productid=1

Websites1. http://www.samplequestionnaire.com/2. http://www.dotnetperls.com/datetime-format-vbnet3. http://www.dotnetperls.com/timespan-vbnet4. http://www.techrepublic.com/article/working-with-dates-and-times-in-

vbnet/60895465. http://www.techrepublic.com/article/calculate-period-of-time-with-net/

57607526. http://www.youtube.com/watch?v=acTj3T1PjXQ7. http://www.exforsys.com/tutorials/vb.net-2005/vb.net-validation.html8. http://www.daniweb.com/software-development/vbnet/threads/1360329. http://books.google.co.in/bkshp?hl=en&tab=wp10. http://www.dreamincode.net/forums/topic/122719-how-to-get-data-

from-datagridview-row-in-the-text-boxes/11. http://vb.net-informations.com/dataset/vb.net-ado.net-dataset-

tutorial.htm12. http://msdn.microsoft.com/en-us/library/ms123401.aspx13. http://msdn.microsoft.com/en-in/ms348103