Académique Documents
Professionnel Documents
Culture Documents
PROJECT REPORT ON
HOTEL MANAGEMENT SYSTEM
(SUBMITTED FOR THE PARTIAL FULFILMENT FOR THE AWARD
OF DIPLOMA IN COMPUTER ENGINEERING)
SUBMITTED TO:
SUBMITTED BY:
CERTIFICATE
TO WHOM IT MAY CONCERN
This is certify that Ankush Mangal (10096081102),Ranbir Singh (10096081103),Vinod
Kumar (10096081103) are the student of Computer Engineering 6th semester has completed
their project on HOTEL MANAGEMENT SYSTEM under my supervision. They have
worked on this project through the semester from 2011 to 2013. To the best of my knowledge ,
they themselves do this project.
PREFACE
As we move through 21st century, the socio economic settings are different from what is or
was long ago. There is a growing demand for better quality if life, which brings new invention
in the companies towards computerization. Computers are one of them; computers no doubt
enhance the capability, incearse the effective and output standard of any field in which they
are applied to.
The need of todays software development id competence in GUI Based front-end
tool, which can connect to database. This gives opportunity to retrieve information easily. This
application gives the user to find information and information in the database easil than other
ways.
In the sales and Marketing department of any company the need of computer
become huge, as thereis no need to do those things, which assume a lot of time and energy of
employee is saved. This system is developed to provide the user with every sort of
convenience. The user will be very much friendly with the system as he can do maximum
work in minimum time.
Thus we see that computers are become necessity in day life. The use of
computer also invokes he feelings of healthy competition with other organization.
We hope this projects succeeds in achieving the foremost goal of sales and
Marketing Department to manage there billing system.
ACKNOWLEDGEMENT
It is a great pleasure to acknowledgement my sincere gratitude and indebtness to
Er. Mamta Kamboj Lect. Computer Engg. Maa Saraswati Polytechnic Bhawdin, Sirsa for his
guidance and his entire some efforts, consistent motivation & inspiration that never lot us in
the waver during the course of our project work. We will never forget the devotion, dedication
moral attitude ethics he has indulged in our project during this period. We consider our selflucky for having an opportunity to work under such a project guide.
We again send our heartiest thanks for everything that we get from him.
We would like to pay our sincere gratitude to Sh. Sanjeev Sethi, Principal, Maa Saraswati.
Polytechnic Bhawdin, Sirsa and all staff members of Computer Engg. Department for their
inspiring guidance, support and encouragement.
We are highly indebted to our parents for their financial assistance and immeasurable support.
Above all I thanked Almighty
far..!!
with
whose
grace
we
would
reach
10096081104
this
Ankush Mangal
10096081103
Vinod Kumar
10096081102
Ranbir Singh
10096081104
CONTENTS
Page No.
1.
2.
Front End
3.
Back End
4.
System Requirement
5.
Feasibility Study
6.
7.
8.
Testing
10
9.
Design
12
10.
Coding
27
TOOLBOX :
Display the types of objects (such as textbox, labels etc.). That you can draw on a
form. The toolbox may not list all possible objects you can draw on a form. To get a
complete list of objects you can display in your Toolbox,Ctrl + T.
PROJECT EXPLORER :
Show list of all forms or report from that are used in particular project of Visual Basic.
PROPERTIES WINDOWS :
Display the properties of the currently selected form.
FORM LAYOUT WINDOW :
Enable you to arrange the location where your form appear on the screen.
FORM :
Provide a window where you can draw objects to design your programs user
Interface.
IMMEDIATE WINDOW :
Enables you to debug your Visual Basic Program.
FRONT END
We have used Visual Basic for our project developers as front end because it is the perfect
programming environment for the 1990s. It is an easy and powerful tool for developing
Windows application in Basic. In our project Visual Basic used as a Front end.
Visual Basic 2.0 was faster, more powerful and even much easier than Visual
Basic 1.0. Visual Basic 3.0 added simple way to control the most powerful databases
available. Visual Basic 4.0 added support for 32-bit development and began the process of
turning Visual Basic into a fully object oriented programming language. Visual Basic 5.0
added the ability to create ture executable and even the ability to make your own controls.
But we decided to use Visual Basic 6.0 because it has added some long
desired features, even more Internet power and even more powerful database features to
make our programming jobs easier, more Wizards. It is the latest, slickest and powerful Visual
Basic yet. When using Visual Basic, the most important skill you need is to adapt at using the
development environment. Without the integrated tools in the environment, Visual Basic
programming would be much more cumbersome and difficult. All design would need to be
done on graph paper and flow charts and it would need to be typed in line by line.
Visual Basic contains many integrated tools to make the application
development process simpler. This collection of tools makes up the Integrated Development
Environment (IDE). Visual Basic provides a graphical environment in which we visually
design the forms and the controls that become the part of our applications. Visual Basic
supports many useful that will help you be more productive. These include, but are not limited
to, projects, forms, class objects, templates, custom controls and database managers. You can
use these tools together to complete applications in months, weeks, even in days ; producing
an application using another language can take much longer. When we strart Visual Basic first
time, the Project Wizard will open we will notice the new Project Dialog Box.
BACK END
In the computerized address diary system MS-ACCESS is used as back end to store the data.
Access is a powerful database program that we can used to create the sophisticated
applications. A data base is a collection of information about groups of items or individuals.
Database is a structure that is provided fields-categories of information. Fields in address
diary includes name, address, phone no., occupation etc. Each entry in database for one
individual is called a Record. Simple database only allow you to work with one list of
information at a time : one set of fields and records. More capable program like access lets
you group multiple list together and list to each other, create a type of database called a
Relational Database.
In a Relational Database, each list is stored in a separate table. Data
validations can be put on the fields and records. Validation is a way to screen data being
entered in a table or a form. Validation rules screens the data, and validation text that appears
to let user know that constitutes a valid entry. When you move to a new record, Access checks
to make sure that entire record is valid.
Icon : Icon provides a symbolic representation of any system entity such as file,
folder, address, table and so on. A folder icon consists of group of files or other folder
icons.
Dialog box : It is used to capture user information or to present information to the
user. Normally a dialog box is displayed to get additional information. Dialog boxes
are used to indicate error message in the form of alter boxes.
Check box : Such a box is used to capture information intented confirmation
pertaining to any kind of action desired by the user.
Menus : The functionality on a GUI system is arranged in the form of Menus such as
Horizontal menus, pull down menus etc. Form the menu, the user can select any
operation of his choice rather than remembering commands at each stage.
Sliders : These are used to show the relative position of the contents or to move a
different position.
Desktop Metaphors : In desktop graphical metaphor, users are not aware of
applications and they deal with files, folders, and clipboard.
SYSTEM
REQUIREMENTS
MINIMUM
REQUIREMENTS
RECOMMENDED
Processor
Memory (RAM)
256 MB
512 MB or more
Hard Disk
8 GB
20 GB or more
Display (Resolution)
OS/Platform
Windows XP
FEASIBILITY STUDY
Feasibility Study :
Depending on the results of the initial investigation, the survey is expanded to a more
detailed feasibility study.
Feasibility Study is a test of system proposal according to its workability, impact on the
organization, ability to meet user needs, and effective use of resources.
The objective of the Feasibility Study is not to solve the problem but to acquire a sense of
its scope. During the study, the problem defenition is crystallized and aspects of the problem
to be included in the system are determined.
Consequently, costs and benefits are described with greater accuracy at this stage. It consists
of the following :
Statements of the problem :
A carefully worded statement of the problem that lacto analysis.
Summary of finding and recommendations :
A list of major findings and recommendations of the study. It is ideal for the user who
requires quick access to the results of the analysis of the system under study.
Conclusion is stated, followed by a list of the recommendation and a justification for
them.
Details of findings :
An outline of the methods and procedures undertaken by the existing system, followed
by coverage of the objectives and procedures of the candidate system. Included are
also discussions of output reports, file structure, and costs & benefits of the candidate
system.
Recommendations and conclusions :
Specific recommendations regarding the candidate systems, including personal
assignments, costs, project schedules, and target dates.
2. Economical Feasibility :
With the help of this application it will lead to decrease in cost of opening and
maintaining officies, which will be more than the cost of developing and maintaining
the application. Lesser manpower is needed to maintain an application than a branch
office, which will again lead to decrease in cost.
3. Operational Feasibility :
This application is very easy to operate as it is made user friendly. Main consideration
in users easy access to all functionality of the application.
TESTING
It should be clear in mind that the philosophy behind testing is to find errors.Test cases are
devised with this purpose in mind. A test case is a set of data that the system will process as
normal input. However, the data are created with the express intent of determining whether
the system will process them correctly. For example, test cases for inventory handling should
include situations in which the quantifies to be withdrawn from inventory exceed, equal and
are less than the actual quantities on hand. Each test case is designed with the intent of finding
errors in the way the system will process it. There are two general strategies for testing
softwares :
1. Code testing
2. Specification testing
In code testing , the analyst develops those cases to execute every instruction and path in a
program. Under specification testing, the analyst examines the program specification and
then writes test data to determine how the program operates under specific conditions.
Regardless of which strategy the analyst follows, there are preferred practices to ensures
that the testing is useful. The levels of tests and types of test data, combined with testing
libraries, are important aspects of the actual test process.
LEVELS OF TESTING :
System are not designed as entire system or they as single systems. The analyst must both
unit and system testing.
Unit Testing :
In unit testing the analyst tests the programs making up a system. For this
reasons, unit testing is sometimes called program testing. Unit testing gives stress
on the modules independently of one another, to find errors. This helps the tester in
detecting errors in coding and logic that are contained within that module alone.
The errors resulting from the interaction between modules are initially avoided.
For examples, a hotel information system consists of modules to handle
reservation; guest checking and checkout; restaurant, room service and
miscellaneous charges; convention activities; and accounts receivable billing. For
each, it provides the ability to enter, modify or retrieve data and respond to
different types of inquires or prints reports. The test cases needed for unit testing
should exercise each condition and option.
System Testing :
The important and essential part of the system development phase, after
designing and developing the software is system testing. we cannot say that every
program or system design is perfect and because of lack of communication
between the user and the designer, some error is there in the software development.
The number and nature of error in a nwely designed system should have all the
parts or sub-system works independently. This is the time to gather all the
subsystem into one pool and test the whole systems to determine whether it meets
the user requirements. This is the last change to detect and correct errors before the
system is installed for user acceptance testing. The purpose of system testing is to
consider all the likely variation to which it will be subjected and then push the
system to its limits. System testing consists of the following five steps :
Program Testing
String Testing
System Testing
System Documentation
User Acceptable
LOGING FORM :-
FORM DESIGN :-
CUSTOMERS REPORT :-
EMPLOYS REPORT :-
HELP FORM :-
cname.Text = r.Fields(0)
cage.Text = r.Fields(1)
cgender.Text = r.Fields(2)
cid.Text = r.Fields(3)
cadd.Text = r.Fields(4)
cph.Text = r.Fields(5)
dov.Value = r.Fields(6)
amt.Text = r.Fields(7)
cmbroom.Text = r.Fields(8)
If dod.Text = "" Then
dod.Text = ""
Else
dod.Text = r.Fields(9)
End If
End If
End Sub
Private Sub delete_Click()
r.delete
cmdNext_Click
MsgBox "RECORD SUCCESSFULY DELETED", vbInformation
End Sub
Private Sub Form_Load()
c.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\hotel.mdb"
r.Open "select * from customer", c, adOpenDynamic, adLockOptimistic
If r.EOF Then
r.MovePrevious
MsgBox "You are at the Last Record ", vbInformation
Else
cname.Text = r.Fields(0)
cage.Text = r.Fields(1)
cgender.Text = r.Fields(2)
cid.Text = r.Fields(3)
cadd.Text = r.Fields(4)
cph.Text = r.Fields(5)
dov.Value = r.Fields(6)
amt.Text = r.Fields(7)
cmbroom.Text = r.Fields(8)
If dod.Text = "" Then
dod.Text = ""
Else
dod.Text = r.Fields(9)
End If
End If
End Sub
Private Sub Form_Unload(cancel As Integer)
c.Close
End Sub
cid.Text = ""
cadd.Text = ""
cph.Text = ""
dov.Value = Date
amt.Text = ""
cmbroom.Text = ""
dod.Text = ""
End Sub
employ.setblank
End Sub
Public Sub setDAta()
r.Fields(0) = ename.Text
r.Fields(1) = eage.Text
r.Fields(2) = egender.Text
r.Fields(3) = eid.Text
r.Fields(4) = eph.Text
r.Fields(5) = edoj.Value
r.Fields(6) = esal.Text
r.Fields(7) = epost.Text
If edol.Text = "" Then
edol.Text = ""
Else
r.Fields(8) = edol.Text
End If
End Sub
Public Sub setblank()
ename.Text = ""
eage.Text = ""
egender.Text = ""
eid.Text = ""
eph.Text = ""
esal.Text = ""
edol.Text = ""
epost.Text = ""
End Sub
Private Sub Form_Load()
c.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\hotel.mdb"
r.Open "select * from employ", c, adOpenDynamic, adLockOptimistic
If r.EOF Then
r.MovePrevious
MsgBox "You are at the Last Record ", vbInformation
Else
ename.Text = r.Fields(0)
eage.Text = r.Fields(1)
egender.Text = r.Fields(2)
eid.Text = r.Fields(3)
eph.Text = r.Fields(4)
edoj.Value = r.Fields(5)
esal.Text = r.Fields(6)
epost.Text = r.Fields(7)
If edol.Text = "" Then
edol.Text = ""
Else
edol.Text = r.Fields(8)
End If
End If
End Sub
Private Sub Form_Unload(cancel As Integer)
c.Close
End Sub
Private Sub modify_Click()
employ.setDAta
r.Update
End Sub
Private Sub next_Click()
r.MoveNext
If r.EOF Then
r.MovePrevious
MsgBox "You are at the Last Record ", vbInformation
Else
ename.Text = r.Fields(0)
eage.Text = r.Fields(1)
egender.Text = r.Fields(2)
eid.Text = r.Fields(3)
eph.Text = r.Fields(4)
edoj.Value = r.Fields(5)
esal.Text = r.Fields(6)
epost.Text = r.Fields(7)
If edol.Text = "" Then
edol.Text = ""
Else
edol.Text = r.Fields(8)
End If
End If
End Sub
Option Explicit
Public LoginSucceeded As Boolean
Dim i As Integer
Private Sub cmdCancel_Click()
LoginSucceeded = False
Unload Me
End
End Sub
Private Sub cmdOK_Click()
If txtUserName <> "naveen" Then
MsgBox "INVALID USERNAME, TRY AGAIN", vbCritical
txtUserName.SetFocus
i=i+1
ElseIf txtPassword = "khasa" Then
LoginSucceeded = True
MDIForm1.Show
Unload Me
Else
MsgBox "sorry invalid username or password", vbCritical
txtPassword.SetFocus
SendKeys "{Home}+{End}"
i=i+1
End If
If i = 3 Then
MsgBox "YOU ARE UNAUTHORISED PERSONE,JUST OUT", vbCritical
End
End If
End Sub
Private Sub Form_Load()
txtPassword.Text = ""
End Sub
If a = "naveen" Then
r.Update
MsgBox "Record Successfuly Saved", vbInformation
Else
MsgBox "You Are Not A Valid User To MODIFY the Record", vbCritical
End If
End Sub
Private Sub Form_Load()
c.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\hotel.mdb"
r.Open "select roomno from room", c, adOpenDynamic, adLockOptimistic
r1.Open "select * from room", c, adOpenDynamic, adLockOptimistic
End Sub
Private Sub Form_Unload(cancel As Integer)
c.Close
End Sub
employ.edoj.Value = r.Fields(5)
employ.esal.Text = r.Fields(6)
employ.epost.Text = r.Fields(7)
If employ.edol.Text = "" Then
employ.edol.Text = ""
Else
employ.edol.Text = r.Fields(8)
End If
employ.Show
employ.next.Visible = False
employ.back.Visible = False
employ.esave.Visible = False
End If
Unload Me
End Sub
Private Sub Command4_Click()
If Text1.Text = "" Then
MsgBox "Plz Enter A Room No To Search Record"
End If
r1.Find "roomno='" & Text1.Text & "'"
If r1.EOF Then
MsgBox "Record Is Not In List", vbInformation
Else
room1.room = r1.Fields(0)
room1.ravail = r1.Fields(1)
room1.Text1 = r1.Fields(2)
room1.Show
End If
Unload Me
End Sub
Private Sub Command5_Click()
On Error Resume Next
Dim i As Integer
i = Text1.Text
r2.Find "idproof='" & Text1.Text & "'"
If r2.EOF Then
MsgBox "record not in list", vbInformation
r2.Close
Unload Me
Else
DataReport3.Show
DataEnvironment1.Command3 (i)
End If
Unload Me
End Sub
Private Sub Form_Load()
c.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\hotel.mdb"
Start form coding: Private Sub Pb1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
formlogin.Show
End Sub
Private Sub Timer1_Timer()
Shape1.Left = Shape1.Left - 78
Shape2.Left = Shape2.Left + 75
End Sub
Private Sub Timer2_Timer()
If pb1.Value < pb1.Max Then
pb1.Value = pb1.Value + 5
Else
frmLogin.Show
Unload Me
End If
End Sub
A
PROJECT REPORT ON
HOTEL MANAGEMENT SYSTEM
(SUBMITTED FOR THE PARTIAL FULFILMENT FOR THE
OF DIPLOMA IN COMPUTER ENGINEERING)
SUBMITTED TO:
SUBMITTED BY:
Dayanand
AWARD
061108010
A
PROJECT REPORT ON
HOTEL MANAGEMENT SYSTEM
(SUBMITTED FOR THE PARTIAL FULFILMENT FOR THE
OF DIPLOMA IN COMPUTER ENGINEERING)
SUBMITTED TO:
SUBMITTED BY:
Prithvi Raj
AWARD
061108035
A
PROJECT REPORT ON
HOTEL MANAGEMENT SYSTEM
(SUBMITTED FOR THE PARTIAL FULFILMENT FOR THE
OF DIPLOMA IN COMPUTER ENGINEERING)
SUBMITTED TO:
Mr. Rakesh Kumar
Lect. Computer Engg.
AWARD
SUBMITTED BY:
Sonu Kumar
061108059
A
PROJECT REPORT ON
HOTEL MANAGEMENT SYSTEM
(SUBMITTED FOR THE PARTIAL FULFILMENT FOR THE
OF DIPLOMA IN COMPUTER ENGINEERING)
SUBMITTED TO:
SUBMITTED BY:
Dharmendra
AWARD
051108073
CERTIFICATE
TO WHOM IT MAY CONCERN
This is certify that DHARMENDRA (051108073), is the student of Computer Engineering 6th
semester has completed their project on HOTEL MANAGEMENT SYSTEM under my
supervision. They have worked on this project through the semester from JAN 2009 to MAY
2009. To the best of my knowledge , they themselves do this project.
CERTIFICATE
TO WHOM IT MAY CONCERN
This is certify that SONU KUMAR (061108059) is the student of Computer Engineering 6th
semester has completed their project on HOTEL MANAGEMENT SYSTEM under my
supervision. They have worked on this project through the semester from JAN 2009 to MAY
2009. To the best of my knowledge , they themselves do this project.
CERTIFICATE
TO WHOM IT MAY CONCERN
This is certify that PRITHVI RAJ (061108035) is the student of Computer Engineering 6th
semester has completed their project on HOTEL MANAGEMENT SYSTEM under my
supervision. They have worked on this project through the semester from JAN 2009 to MAY
2009. To the best of my knowledge , they themselves do this project.
CERTIFICATE
TO WHOM IT MAY CONCERN
This is certify that DAYANAND (061108010) is the student of Computer Engineering 6th
semester has completed their project on HOTEL MANAGEMENT SYSTEM under my
supervision. They have worked on this project through the semester from JAN 2009 to MAY
2009. To the best of my knowledge , they themselves do this project.