HMSVB
HMSVB
A Project on
By
“………………………………………”
1. Project Title:
2. Software Base: Visual Basic 6.0
3. Submitted for the Course & Year: PGDCA (2024-25)
7. Center Name: (045) Gurukul Arts, Commerce & Science College, Pathalgaon (C.G.)
External Examiner
GURUKUL ARTS, COMMERCE & SCIENCE COLLEGE, PATHALGAON (C.G.)
POST GRADUATION DIPLOMA IN COMPUTER APPLICATION
CERTIFICATE OF APPROVAL
This is to certify that the work embodied in this Major Project, “HOTEL MANAGEMENT
SYSTEM” has been satisfactorily completed
by……………………………….with……………………..… . It is a bonafide piece of work,
carried out under my guidance in the PGDCA, GURUKUL ARTS, COMMERCE &
SCIENCE COLLEGE, PATHALGAON, and JASHPUR for the partial fulfillment of the
POST GRADUATION DIPLOMA IN COMPUTER APPLICATION during the Session
2024 - 2025.
Guided By
Name of Guidance
MR. PAWAN KUMAR YADAV
MR. NEERAJ KUMAR PATEL
Approved By
DR. AJEET KUMAR YADAV
Principal of Gurukul Arts, Commerce & Science College, Pathalgaon (C.G.)
GURUKUL ARTS, COMMERCE & SCIENCE COLLEGE, PATHALGAON (C.G.)
POST GRADUATION DIPLOMA IN COMPUTER APPLICATION
CERTIFICATE OF APPROVAL
This foregoing Major project is hereby approved as a creditable study of a computer
application Subject carried out and presented in a manner satisfactory to warranty its
acceptances as a prerequisite to the post graduate degree for which it has been submitted. It is
understood that by this approval the undersigned do not necessarily endorse or approval any
statements made , opinion expressed on conclusion drawn therein, but approval the thesis
only for the purpose the which it has been submitted.
DECLARATION
ENROLMENT NO - …………………………………………….
ACKNOWLEDGMENT
“TASK successful makes everyone happy, but the happiness will not be gold without
glitter if we didn’t state the persons how have supported us to make it a success
Success will be crowned to people how made it a reality but the people whose
constants guidance and encouragement it possible will be crowned first on the eve of success.
This acknowledgement transcends the reality of formality when we would like to
express deep gratitude and respect to all those people behind the screen who guided, inspired
and happened me for the compilation of our project work.
I consider my self lucky in enough to get such a good project. This project would add
as an asset to my academic profile.
Thank you!
INDEX
1 INTRODUCTION
2 PROBLEM DESCRIPTION
3 FEATURES OF PROJECT
4 OBJECTIVE OF PROJECT
5 SYSTEM SPECIFICATION
6 SYSTEM STUDY
7 DFD
8 E-R DIAGRAM
9 SOFTWARE DESCRIPTION
10 DATABASE DESIGN
11 SAMPLE CODING
12 OUTPUT
13 CONCLUSION
14 BIBLIOGRAPHY
1 .INTRODUCTION:-
My project title is Hotel Management System. I have tried my best to make the complicated
process of Hotel Management System as simple as possible using Structured & Modular
technique & Menu oriented interface. I have tried to design the Project in such a way that
user may not have any difficulty in using this package & further expansion is possible
without much effort. Even though I cannot claim that this work to be entirely exhaustive, the
main purpose of my exercise is perform each Employee’s activity in computerized way rather
than manually which is time consuming.
I am confident that this software package can be readily used by non-programming personal
avoiding human handled chance of error. This project is used by two types of users
i. Online Users.
Administrator can maintain daily updates in the hotel records. Administrator is must be an
authorized user. He can further change the password. There is the facility for password
recovery, logout etc.
The main aim of the entire activity is to automate the process of day to day activities of Hotel
like Room activities, Admission of a New Customer, Assign a room according to customer’s
demand, checkout of a computer and releasing the room and finally compute the bill etc.
The limited time and resources have restricted us to incorporate, in this project, only main
activities that are performed in a Hotel Management System, but utmost care has been taken
to make the system efficient and user friendly.
“Hotel Management System” has been designed to computerize the following functions that
are performed by the system:
2 .PROBLEM DESCRIPTION:-
As we know manual system are quite tedious, time consuming and less efficient and
accurate in comparison to the computerized system. So following are some advantages of the
old system:
1. Time consuming
2. Less accurate
3. Less efficient
4. Lots of paper work
5. Slow data processing
6. Not user friendly environment
7. Difficult to keep old records
3. FEATURES OF PROJECT:-
The project “HOTEL MANAGEMENT SYSTEM” is made with the effort of many people in
a direct or indirect manner to achieve the objective. This project can store record input by the
user and show when it is required by the user. It can print the data report as per the user
choice. In this project we can add new work from the user or we can add new type of work
also in it. It can print data report as per date also etc can effectively perform by this project.
4. OBJECTIVE OF PROJECT:-
During the past several decades personnel function has been transformed from a relatively
obscure record keeping staff to central and top level management function. There are many
factors that have influenced this transformation like technological advances, professionalism,
and general recognition of human beings as most important resources.
A computer based management system is designed to handle all the primary
information required to calculate monthly statements. Separate database is
Maintained to handle all the details required for the correct statement calculation and
generation.
This project intends to introduce more user friendliness in the various activities such
as record updating, maintenance, and searching.
The searching of record has been made quite simple as all the details of the customer
can be obtained by simply keying in the identification of that customer.
Similarly, record maintenance and updation can also be accomplished by using the
identification of the customer with all the details being automatically generated. These
details are also being promptly automatically updated in the master file thus keeping
the record absolutely up-to-date.
The entire information has maintained in the database or Files and whoever wants to
retrieve can’t retrieve, only authorization user can retrieve the necessary information
which can be easily be accessible from the file.
The main objective of the entire activity is to automate the process of day to day activities of
Hotel like:
Room activities,
Admission of a New Customer,
Assign a room according to customer’s demand,
Checkout of a computer and releasing the room
Finally compute the bill etc.
Packages available.
Advance online bookings.
Online Cancellation.
List of Regular customers.
Email facility.
Feedbacks
5. SYSTEM SPECIFICATION:-
HARDWARE REQUIREMENT
SOFTWARE REQUIREMENT
6. SYSTEM STUDY:-
FEASIBILITY STUDY
An initial investigation terminates in a proposal that determines whether an alternative
system is feasible. Feasibility study can be categorized into three major parts: -
TECHNICAL FEASIBILITY
The proposed system has technical capacity of required to hold the data.
This project is efficient and responds quickly for various enquires regardless
Of number of locations.
The system proposed could be expanded easily and efficiency, whenever required.
The management of the organization has a fully supported us to bring up the project and
the data security in this project provided by setting up the password procedure so that only
the authorized user can access the system.
DFD is a graphical representation of data process and files used in a support system.
Data Flow Diagrams are useful tools for analyzing existing systems. Data Flow Diagram is a
network that describes flows of data and the processes that changes or transforms the data
throughout a system.
Data flow diagrams can be expanded to show successive levels of details sufficient.
Expansion should be performed during the initial investigation to be certain that both the
analyst and user personnel share a common understanding of the existing system and its data
flow.
4. Arrows Arrows are sued to show flow of path from where it is coming
& going.
8. E-R DIAGRAM:-
ENTITIES
Entities are objects or concepts that represent important data. They are typically nouns,
e.g. customer, supervisor, location, or promotion.
Strong entities exist independently from other entity types. They always possess one or more
attributes that uniquely distinguish each occurrence of the entity.
Weak entities depend on some other entity type. They don't possess unique attributes (also
known as a primary key) and have no meaning in the diagram without depending on another
entity. This other entity is known as the owner.
Associative entities are entities that associate the instances of one or more entity types. They
also contain attributes that are unique to the relationship between those entity instances.
RELATIONSHIPS
Relationships are meaningful associations between or among entities. They are usually
verbs, e.g. assign, associate, or track. A relationship provides useful information that could
not be discerned with just the entity types.
Weak relationships, or identifying relationships, are connections that exist between a weak
entity type and its owner.
ATTRIBUTES
Multivalued attributes are those that are capable of taking on more than one value.
Derived attributes are attributes whose value can be calculated from related attribute values.
9. SOFTWARE DESCRIPTION:-
Visual basic 6.0 is the popular version of the programming language. This environment is
to develop robust. Attend alone application and utilities is less time then it usually takes in
other language. Project development has been all easier what with the language supporting
the oops concept.
Very simply, Microsoft Access is an information management tool that helps you store
information for reference, reporting, and analysis. Microsoft Access helps you analyze large
amounts of information, and manage related data more efficiently than Microsoft Excel or
other spreadsheet applications. This article shows you when to use Access, and how it can
help make you more effective.
Microsoft Access works in the same manner any database does, by storing related
information together, and letting you create connections (commonly called relationships)
between different things. The relationships between two different things in MSAccess can be
very simple (such as a contact at a customer and the customer itself) or complex. In the
example below, the blue boxes represent the major things we're tracking in our MS Access
database tables, and the reports at right show how you can join the related information for
analysis and reporting.
BOOKING TABLE
ROOM TABLE
ROOM TYPE TABLE
SERVICE TABLE
11. SAMPLE CODING:-
Developing this project here are design the various form for coding. These forms are as
following:
LOGIN FORM
rs.Open "select * from tbl_stock where company='" & Combo3.Text & "'", con,
adOpenKeyset, adLockOptimistic, adCmdText
Combo4.Clear
rs.MoveNext
Wend
End Sub
rs.addnew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs.Update
Text1.Text = ""
Text2.Text = ""
Adodc1.Refresh
'Text1.Text = ""
End Sub
Unload Me
End Sub
CHECKIN FORM
End Sub
End Sub
rs(8) = Time
rs.Update
Dim i As Integer
Dim ch As String
i = Val(Text4.Text)
ch = Combo1.Text
CLEARALLTEXT Me
Text4.Text = i
Combo1.Text = ch
MsgBox "Record saved.", vbInformation
Adodc1.RecordSource = "select * from TBL_BOOKING where booking_id=" & i
Adodc1.Refresh
Adodc2.Refresh
If rs.State = 1 Then rs.Close
rs.Open "select max(BOOKING_ID)from TBL_BOOKING", con, adOpenDynamic,
adLockOptimistic
If IsNull(rs(0)) Then
Text4.Text = "001"
Else
Text4.Text = "00" & (rs(0) + 1)
End If
End Sub
DTPicker1.Value = Date
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Combo1.Enabled = True
If IsNull(rs(0)) Then
Text4.Text = "001"
Else
Text4.Text = "00" & (rs(0) + 1)
End If
End Sub
CHECKOUT FORM
End Sub
End Sub
rs(7) = Date
rs(9) = Time
rs(10) = Val(Text1.Text)
rs(11) = Val(Text1.Text)
rs(12) = Val(Text3.Text)
rs.Update
Dim i As Integer
Dim ch As String
i = Val(Text4.Text)
ch = Combo1.Text
CLEARALLTEXT Me
Text4.Text = i
Combo1.Text = ch
MsgBox "Record saved.", vbInformation
'Adodc1.RecordSource = "select * from tbl_sales where order_no=" & Val(Text4.Text)
Adodc1.Refresh
Form_Load
End Sub
DTPicker2.Value = Date
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Combo3.Text = ""
'Combo4.Text = ""
Combo1.Text = ""
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If Not IsNumeric(Chr(KeyAscii)) Then
KeyAscii = 0
MsgBox "plz enter only no", vbInformation
Exit Sub
End If
End Sub
rs(2) = "FREE"
rs(3) = Null
rs(4) = ""
rs.Update
MsgBox "record saved", vbInformation
Adodc1.Refresh
Form_Load
Text1.Text = ""
End Sub
End Sub
BOOKING REPORT
rs(2) = "BOOKED"
rs(3) = DTPicker1.Value
rs(4) = Text1.Text
rs.Update
MsgBox "record saved", vbInformation
Adodc1.Refresh
Form_Load
Text1.Text = ""
End Sub
Combo1.Clear
DTPicker1.Value = Date
If rs.State = 1 Then rs.Close
rs.Open "select * from TBL_TABLE_TYPE", con, adOpenKeyset, adLockOptimistic,
adCmdText
Combo4.Clear
While Not rs.EOF
Combo4.AddItem rs(0)
rs.MoveNext
Wend
End Sub
SALE REPORT
DTPicker1.Value = Date
DTPicker2.Value = Date
End Sub
12.OUTPUTS:-
LOGIN FORM
MDI FORM
ROOM TYPES FORM
CHECK IN FORM
CHECKOUT FORM
13.CONCLUSION:-
Now days computerizations of existing manual system is going on a large scale because of
the versatility, speed, accuracy and diligence it offers to its users. Computers provide
practical means to organize things systematically and economically in the organization the
use of computers for managing transactions; information processing and preparation of
reports can prove to be a blessing.
The project is discussion is an attempt to attain all the above said objectives.
Its development was mean to replace the manual system and to achieve the goal to maximum
accuracy and most efficiently. But like every other system might process faults to its credits
and has its own limitation. Neglecting these few negations, the project can be called a
stepping stone to automate processes in organizations.
14. BIBLIOGRAPHY:-
How to Visual Basic 6.0 (Eric Brierley, Anthony Prince & David Rinaldi)