Vous êtes sur la page 1sur 82

• Sign Up

• |
• Log In

1
First Page
Previous Page
Next Page

/ 32
Sections not available
Zoom Out
Zoom In
Fullscreen
Exit Fullscreen
Select View Mode
View Mode
BookSlideshowScroll
Top of Form

Bottom of Form
Readcast
Add a Comment
Embed & Share

Reading should be social! Post a message on your social networks to let others know what you're reading. Select the
sites below and start sharing.

Readcast this Document


Top of Form
a4b2f0553f9f539
Login to Add a Comment

4gen

Bottom of Form
Share & Embed
Add to Collections
Download this Document for Free
Auto-hide: on
“HOTEL MANAGEMENT”
PROJECT REPORT
Submitted in the partial fulfillment of the requirement for the award of the
degree
SUBMITTED BY
VINEET CHAUHAN
SARVOTTAM SINGH
SAURABH GANGWAR
PRATYAKSH JEET
UNDER THE GUIDANCE OF
Internal Guide
: Mr.Lokesh
1

CERTIFICATE
This is to certify that the project titled HOTEL MANAGEMENT is a
bonafied work carried out by VINEET CHAUHAN, SARVOTTAM SINGH,
PRATYAKSH JEET & SAURABH GANGWAR in the partial fulfillment of
the requirement for the award of the degree from U.P. Technical University,
Lucknow .
Internal Guide
Examiner
Mr.Lokesh
HOD (IT)
2
ACKNOWLEDGEMENT
This is to acknowledge that the started performance “HOTEL
MANAGEMENT” is designed to be presented as a project work
with Visual Basics at front end & Access as back end.
First of all we would like to extend our indebtedness to”
“who guided us a lot in framing the project.
We are grateful to our instructors and course-mates that
provided many helpful suggestions and also corrected us
during the primary analysis phase of the project. We also thank
our institute for the valuable guidance without which it could not
have been possible.
VINEET CHAUHAN
SARVOTTAM SINGH
SAURABH GANGWAR
PRATYAKSH JEET
(B.TECH(IT)-3RD YEAR)
3

Table of Contents
1. Cover Page
2. Certificate
3. Acknowledgement
4. Table of Contents
5. Synopsis
6. Feasibility Study
7. System Analysis
8. Requirement Analysis
9. Design
• T a b l e D e s i g n
• D F D
• E R D i a g r a m
10. Coding
10. Testing & Debugging
12. Conclusion
13. Bibliography
4

SYNOPSIS
INTRODUCTION
Hotel industry is one of the leading industries in India and as well as worldwide
today. Thus we have tried to focus our attention on this project by computerizing
it keeping in mind its importance. We have tried to develop this software, which
would be helpful in the hotel industry to make job easier, and time saved.
There was a time when all the work in the hotels were performed manually like
customer’s records employee details, room status & billing etc. but in today’s
world life is to fast therefore our motive is to minimize human labor and make all
the job more convenient.
This software also provides the security of data. Only the Admin. Can seek the
required information as this software has the concept of password, which is only
known to Admin.
This project is a live project which is based on a particular hotel i.e. Usha Shriram
hotel, situated in Delhi
5
MODULES
S.No.
NAME
DESCRIPTION
1
Frm
customer
information
It gives the details of customer
2
Frm Employee
It gives the details of employee
3
Room Enquiry
It provides the choice of rooms (single or double)
to customer
4
Frm services
It deals with facilities & food section.
5
Frm bill
It generates the bill.
6
Frm check in
Add the new customer record & save it in
customer file.
7
Frm check out
It updates the customer file after customer
leaving the hotel.
S.N
o
NAME
DESCRIPTION
1.
Module1.bas
Contain a global variable for delectating a
connection with a database & fields containing
the user name & category.
6

TOOLS AND TECHNOLOGY USED


The tools and technologies used for this module is Visual basic – 6 in the front-end
and MS-Access in the back-end.
Why Visual-Basic:-
Every programmer and developer today is in search of an ideal language and
platform, that is best and fast to create all kind of software applications. The
development of Visual-basic has created a pleasant revolution by proving itself to be
nearly perfect by satisfying their needs.
Visual-Basic is highly interactive programming language, which is ideal for
developing applications for MS-Windows. It’s features increase productivity by
providing tools that are user friendly and help to create sophisticated applications.
Unlike other windows programming environments like Visual C++ , Visual Basic
programs are very simple to write. The very purpose of the parent language BASIC
(Beginners All Purpose Symbolic Instruction Code), which is to teach computer
programming to a beginner, has been retained in Visual Basic also. Visual Basic
relies very heavily on the windows user interface. Therefore the only pre-requisite to
work in Visual Basic environment is to have a firm understanding of how to use
mouse, windows, pull down menus and dialogue boxes.
Visual Basic is an event driven programming language. By event driven
programming it means that what should execute when specific events occur. The
biggest part of writing the programme in Visual Basic involves writing program codes
for the multitude of possible events that can occur to the forms and controls when
the program is running.
7

Visual Basic as a programming language has proved to be easier compared


to other programming languages. It has many in-built tools, which make it one of the
most powerful windows programming environments.
In conventional programming languages like ‘C’ and ‘Pascal’ you have to
write codes to display visual objects on your user interface and specifically instruct
the user interface about the action it has to carry out when an event occurs. In Visual
Basic you have to draw the visual objects and then enter code in a module, which
has automatic built-in formatting and syntax checking capabilities. The user interface
in Visual Basic executes the action it has to carry out when an event occurs.
Examples of some of the events:-
Events that happen with forms:-
Load: It is executed with the start up of the form.
Unload: This is used to free the memory taken by the form.
Events that happen with the controls:-
Click: This event is generated when a command button is chosen.
Double Click: This is generated when an object is double clicked.
Change: This event responds to changes to a control.
8

Error Handling in Visual Basic:-


The most important part in the project is error handling. In all the other languages
except Visual Basic error handling is the most complex part but in Visual Basic it’s a
child’s play. In Visual Basic the errors and mistakes that are committed when
entering the code at design time lead to the display of error messages during
compilation and run-time. Mistakes that do not allow the functioning of the program
to it are desired tasks are known as bugs. We can avoid some of the bugs during
application design by pre-planning. Minor bugs usually do not affect the program
from serving its purpose. They may slow down the computer, change color etc.
Major bugs are severe and will affect the program from being used correctly. They
may erase files, generate a general protection failure etc. All these bugs no matter
minor or major may be handled in Visual Basic by certain error statements. These
error statements are:-
1.On Error Go To Line: This enables the handling routine that starts at any line
label or line number.
2.On error Resume Next: This specifies that when a run-time error occurs,
control branch to next statement immediately.
3.On Error GoTo 0: Disable any enabled error handler in the current
procedure.
Data Access In Visual Basic:-
Visual Basic allows accessing and manipulating data databases. It allows managing
databases, objects, and structures. It includes a number of features that makes
database access relatively simple like:
Close attachment with the MS-Access database program.
Data control to access and display database information with other controls.
Capability to work with ODBC and SQL Drivers in order to access and manage data
in relational databases.
9

Visual Basic includes the Microsoft jet database Engine that powers MS-Access. It
allows to display, edit and update information from many types of databases.
In Visual Basic standard edition we can use the data control to access information in
existing databases. In Visual Basic professional edition we can also create or modify
databases using the data access objects programming interfaces.
Visual Basic provides the feature DDE, (Dynamic data exchange), which is a
establishes protocol that enables your application to directly & continuously
exchange data through active links between application that run under MS-Windows.
DDE depends on links between a Visual Basic program & other programs. The data
exchange is called Conversation. One can exchange data by establishing DDE links.
These links can be created during design time as well as run-time.
Visual Basic also enables to create an application, which displays data from much
different application & also allows editing the data from with in the application in
which it was created.
Thus with all the above-mentioned features, Visual Basic has created a pleasant
revolution by proving itself to be nearly perfect by satisfying their needs. So, it was
used as a front-end tool in our module.
Why Access:
A database is a collection of information that’s related to a particular subject or
purpose, such as tracking customer orders or maintaining a music collection. If your
database is not stored on computer, or only part of it are, you may be tracking
information from variety of sources that you have to coordinate & organize yourself.
Using Microsoft-access, you can manage all your information from a single database
file. Within the file, divide your file into separate storage containers called table: view,
10
add, update table data by using online forms; find & retrieve just the data you want
by using queries; & analyze the data base’s from the internet or an intranet by
creating data access pages.
To store the data, create one table for each type for each type of
information that you track. To bring the data form multiple tables together in a
query, form, data or data access page, define relationships between the tables.
To find & retrieve just the data meets condition that you specify, including data
from multiple tables, create a query. A query can also update or delete multiple
records at the same time, &perform predefined or custom calculation on your
data. To easily view, enter, & change data directly in the table, create a form.
When you open a form, Microsoft-access retrieves the data from one or
more tables, display it on the screen with the layout you choose in the form
wizard, or a layout that you create from scratch.
To analyze your data or present it a certain way in print, create a report For example,
you might print one report that groups data & calculates totals, &another report with
different date formatted for printing mailing mailing labels.
To make data available on the Internet or an intranet for interactive reporting, data
entry, or data analysis, use a data access page. Microsoft-access retrieves the data
from one or more tables & displays it on the screen with the layout you choose in the
page wizard, or a layout that you create from scratch. User can interact with the date
by using features on the data access page.
11

FEASIBILITY STUDY
The first step involved in computerizing a system is to conduct feasibility study to
deter-mine whether it be possible to install a system for processing the data,
keeping of records etc. & whether the cost of such computerization would justify
the benefits accrued in terms of increased efficiency & reduction of work load of
all concerned operating staff.
Accordingly, visiting the hotel &getting the necessary information system was
considered to be feasible.

The volume of data involved was high & needed large number of staff to
manage the record.

There was need for improved management information to extend facilities.

There was infrastructure available to install the computer system besides
this counter staff was quite suitable to operate a computerized system.

The operating staff was quite responsive & encouraging in the proposed
computerization plans.

There was a satisfactory manual system of record keeping & procedures.
The problem was excessive workload, which could not be coped up with the
available staff.
12

SYSTEM ANALYSIS
Analysis is the detailed study of various operation performed by the system with the
intent of improving it through better process and methods. System analysis means a
detailed description before computerizing system under consideration, it has to be
analyzed, we need to study how it function currently? What are problems and what
are requirement that proposed should meet.
The main components of making software are: -
1. System and Software analysis
2. Design and implementation of software.
3. Ensuring, verifying and marinating software integrity.
Information Gathering
The team gathers all the information by visiting at the site to have information of
existing system. All relevant personal were consulted and no information was
over-looked. To gather information one has to perform different methods: -
1. Identify information sources
2. Revolving a method of obtaining information from identified source.
3. Using information from module of organization
Information Sources
The main sources of information were: -
1. Users of the system
2. Presentations and documents using organization
3. Computer presentation of existing system.
13

EXISTING SYSTEM
In the existing system, automated mechanism is absent to maintain small hotels.
The previous mechanism used by hotel is either manual or maintain cash
registers. The bill is being given to customer from their bill book. So they find it
difficult to manage hotel. The main problems in the existing system are as under:
-
 T h e e x i s t i n g s y s t e m d o e s
n o t p r o v i d e s e c u r i t y f r o m
o t h e r m e m b e r s . A n y
member of hotel can easily access the data by seeing or getting the
information from the register & that person can misuse the information
gained from records.
 T h e r e w a s n o t e c h n o l o g y t o
m a i n t a i n c u s t o m e r r e c o r d ;
s t a f f r e c o r d s
department record or other record in the existing system, which could have
been useful to higher authorities.
 I n t h e e x i s t i n g s y s t e m t h e
u s e r w i l l h a v e t o c a l c u l a t e
t h e a m o u n t m a n u a l l y
for services provided to customer. And by doing so there may be chance
of committing mistake.
 C u s t o m e r s a l w a y s d e s i r e t o
k n o w t h e r e l e v a n t d e t a i l s
l i k e – T h e r o o m
availability at various floors & the status of rooms i.e. single or double etc
 T h e r e s e r v a t i o n o f r o o m s
f o r a p a r t i c u l a r d a y o r d a t e
i s n o t e f f e c t i v e l y
maintain by the user in the existing system.
 T h e e x i s t i n g s y s t e m d o e s
n o t i n d i c a t e t h e v a c a n c y o f
r o o m ’ s c a t e g o r y
wise.
14

PROPOSED SYSTEM
A close scrutiny of the existing system clearly shows that it does not meet the
requirement of the organization adequately. To make it more effective & user
friendly the computerization of information system will be an essential addition
to it. It will process the data’s more accurately & quickly. To achieve this it is
necessary to design & develop a new system, which have the following
benefits over existing system:-
o
Flexibility in generation of information: The generation of reports
in the proposed system will take minimum time and will be more
accurate.
o
Less time to derive conclusions: User of the proposed system can
compile information at higher speed, make comparisons for distinct
periods and draw the conclusions speedily.
o
Ease in maintenance of information: The maintenance of
information in the new system will be much easier as new information
is added with every new customer getting in and checking out.
o
User friendliness: This system is very easy to learn and understand
and even a novice can use the system effectively.
o
User satisfaction: The system stands up to the expectations of user
by giving him the easy access and retrieval of information.
o
Accuracy: As the information is prepared electronically hence it
tends to be highly accurate than in the existing system.
o
Less time consumption: The time taken by the staff to carry out
various jobs is much less in the proposed system, thus making it
more economic and fast.
15

REQUIREMENT ANALYSIS
The origin of most software system is in the need of a client, who
either wants to automate an existing manual system or desires a new
software System. Thus there are three major parties interested in a new
system: the client use and the developers. The basic purpose of software
requirement specification is to bridge communication gap between the
software development process and client problems.
I have done this analysis in order to make a prototype of what the new
system should look like. Since my main aim is to learn that how projects are
made and maintained, so this project of mine has gone through all stages of
software development process.
System Requirement
HARDWARE
INTEL PENTIUM 500 MHZ
64 MB RAM
1.2G.B HARD DISK
OPERATING SYSTEM
WINDOWS 98
SOFTWARE
VB6.0, MS ACCESS
16

Performance requirement
The following characteristics are taken care of while developing the
system
User friendly: The system should be easy to learn and
understand .A naïve should be able to use the system effectively,
without any difficulty.
User satisfaction: The system is such tha t it stands up to the
user s
expectation.
Response time: The response time for an operation should be
much less as it can be. This has to be taken care of while
programming.
Safety and Robustness: The project shoul d be able to avoid
or
tackle disastrous action .The system should safeguard against
undesired events without human intervention.
Acceptance criteria
The following acceptance criteria were established for evaluation of the new
system:
1. The system developed should be accurate and hence reliable that is
the error rate should be minimized and the output should be accurate
and consistence.
2. The-developed software should provide all functions. Further, the
execution time should be very low and response time should be good.
17
3 .It should satisfy the criteria specified in the functional and performance
requirement.
4-. The system should have a scope of future modification and
enhancement that is; it should be able to cope with the business
changes.
5-. The system must satisfy the standards of good software that are:
User friendly, modularity, maintainability, timeliness.
Exception handling
To ensure that the system does not halt in case of undesired situation
or event, the exceptional conditional should be taken care by providing
the corresponding exception responses while developing the system .All
the error handling and validation are to be provided with the system.
Some of them are: displaying proper data types of value should be
checked while entering them in databases or display error message
otherwise, exception handling which are raised if the connections made
are not proper from application to the databases etc.
Problem handling
This project aims at providing user-friendly software, which will automate
the working of a bank. The proposed aim is to provide the following:
1. Providing the user with an integrated package so that working can be
coordinated.
18
2. To remove data redundancy and gain consistency.
3.To provide a vision RDBMS on each of the user’s desktop and a
system which could be integrated with the corporate databases of the
main network.
4.Providing methods of auditing the system
5.To prepare all the reports required and allowing the user to solve some
of the queries he might have.
6.To provide user-friendly environment.
7.To develop a system such that it stands to the user expectation.
19

DATABASE DESIGN
Database is a collection of records .In this project I have used
MICROSOFT ACCESS 97 .In Microsoft Access I have used a database
and nine tables.
Following are the design of the table, which I used in project
NAME OF THE DATA BASE: CHAN
NUMBER OF THE TABLE:
NINE
NAME OF THE TABLE USED:
1.
BLLINGDETAIL
2.
CHKINROOMS
3.
CHKOUTROOMS
4.
CUSTOMERDETAILS
5.
CUSTOMERREPORT
6.
EMPLOYEEDETAIL
7.
FACILITIES
8.
FOOD
9. ROOM
20
TABLE DESIGN
TABLE: 1 (BILLINGDETAILS)
Booking No
Item
Cost
4
Facilities
4250
4
Food
790
5
Facilities
1450
5
Food
525
4
Food
600
6
Facilities
6250
6
Food
945
7
Facilities
6250
7
Food
795
5
Food
180
6
Food
600
8
Facilities
300
TABLE: 2 (CHKIN DETAILS)
Booking
No
Customer Code
Room No
Advance
4
4
1
1000
8
5
21
23
5
8
2
2000
6
9
3
500
7
10
6
1000
21
TABLE: 3 (CHKOUTDETAILS)
Booking No
Room No
Days
ChkOut
4
1
4
10/25/2002
5
2
5
10/22/2002
5
2
5
10/22/2002
6
3
2
10/15/2002
7
6
5
11/6/2002
4
1
-6
10/15/2002
6
3
392
11/9/2003
6
3
0
10/13/2002
6
3
394
11/11/2003
22
TABLE:4 (CUSTOMERDETAIL)
custome
rCode
custome
rnameaddress1 address2address3 phone1 phone2
mobile
Fax
email
city
State
country
Pin roomtypeCheckI
n
4
Ranjul
Bhatia
Bhavan
4666666
981111111
1
ranju_bhatia
@yahoo.co
m
Dadri
U.P.
India
Single
Room
10/21/2
002
5
Priya
Bhatia
Bhavan
4665555
981000000
7
priya@yaho
o.com
Dadri
UP
India
Single
Room
10/21/2
002
6
Arvind A-192,Beta
1st
4665095
981153694
5
to_arvind@y
ahoo.com
Greater
Noida
UP
India
Double
Room
10/21/2
002
7
Rahul
RajNagar
4665577
Ghaziab
ad
UP
India
Double
Room
10/21/2
002
8
Deepak Rajnagar
5765587
5
687689 988766544
Ghaziab
ad
U.P
India
Single
Room
10/17/2
002
9
Amatus
Kandala
3483948
981111100
000
Meerut
U.P
India
20102
0
Single
Room
10/13/2
002
10
Mr & Mrs
Neena
Haziganz
727182
981172172
Patna
Bihar
India
Double
Room
11/1/20
02
23
TABLE:5 (CUSTOMER REPORTS)
sno customername roomtype
roomno
checkindate
checkoutdate
amount
BookingNo
4
Ranjul
Single Room
1
10/21/2002
10/25/2002
9040
4
5
Amatus
Single Room
3
10/13/2002
10/15/2002
11195
6
6
Deepak
Single Room
2
10/17/2002
10/22/2002
6975
5
7 Mr & Mrs Neena Double Room
6
11/1/2002
11/6/2002
27045
7
TABLE:6 (EMPLOYEEDETAILS)
Employee
Code
Employee
Name
Address1
Address
2
Address3
Pin
City
State
Country
Phone1 Phone2 Fax
Mobile
Email
Designation
3
Shweta
Nehru Nagar
Ghaziabad
UP
India
4722120
9811111190
Middle Mgmt
4
Priyanka
Bandra West
Mumbai
Maharashtra
India
9820585858 priyanka@y
ahoo.com
Maneagr
5
Arvind
Singh
E-157,Anupam Apartment
Saket
New Delhi
India
6805322
9811536945
Director
6
Ranjul
23,Vista Centre ,Salisbury
Road
London
London
UK
4544444
9811111111
Chair Person
24
TABLE:7 (FACILITIES)
description
Cost
POOL
50
Swimming Pool
500
Car Rentals
1000
Laundry Services
200
Beach Club
400
Bike Rental
500
Transfers to and from the Airport
500
Billiards
100
Disco
1000
BAR
2000
Laundry
3500
swimming
546
sigle
32
2
2
TABLE:8 (FOOD)
foodtype
fooditem
Cost
BreakFast
Tea
10
Snacks
Soft Drinks
20
Snacks
Pizza
300
Lunch
Dal Makhani
100
Lunch
Sahi Paneer
100
Lunch
Mix Veg.
100
Lunch
Rice
50
Lunch
Butter Nan
15
Dinner
matart-paneer
100
Dinner
chana-masala
80
Dinner
Tandoori
15
Dinner
Butter Nan
15
Dinner
Chilly Chicken
120
Dinner
Fried Rice
60
Dinner
Plain Rice
50
Lunch
Manchurian
80
Lunch
Chilly Chicken
120
Lunch
7867
56
Breakfast
78
8
26
TABLE:9 (ROOM)
roomno
roomtype
cost
Status
1
Single Room
1000
Vacant
2
Single Room
1000
Vacant
3
Single Room
2000
Vacant
5
Double Room
4000
Vacant
6
Double Room
4000
Vacant
7
Double Room
4000
Vacant
10
Double Room
4000
Vacant
12
Single Room
2000
Vacant
23
Single Room
2000
Vacant
21
Single Room
2000
Already Booked
15
Single Room
2000
Vacant
99
Double Room
4000
Vacant
98
Double Room
4000
Vacant
27
DFD
SYMBOLS USED IN DATA FLOW DIAGRAMS
The DFD was fast developed by larry constantine as a way if expressing system
requirements.
1. A Square defines a source or destination of system date.
2. An arrow identifies data flow data in motion. It is a pipeline through which
information flows.
3. An open rectangle is a data store data at rest.
4. An oval bubble represents a process that transforms incoming data flow to
outgoing data flow.
CONTEXT DIAGRAM
28
Hotel
Management
System
Visitor
Check in
Employee
Visitor Information
Generation of Slip
Employee Information
Monthly Status
LEVEL 1 DFD
29
Visitor
1.0
Reception
2.0
Room
Status
3.0
Facilities
4.0
Food
Facilities
5.0
Check
Out
6.0
Generation of
Slip
Check in
Alter Allocation
Bill
IIND LEVEL DFD
2.1
User’s decision
update
Update
30
Visitor
2.0
Room
Status
Check in File
Customer
Detail File
Update
Update
2.1
Single
Room
2.2
Double
Room
Room File
Room File
Visitor
5.0
Check
out
Check Out
File
Room File
Update
Update
Customer Detail
File
Billing Detail File
E-R DIAGRAM
31
Custmer
details
Chkou
t
proces
s
Chkin
proces
S
Room
assign
ed
Facilitie
s
availble
Food
avail
able
Facilities
food
room
Chk out
Chk in
Chko
ut
data
chkdat
a
room
no
B
n
o
n
a
m
e
r.type
Gener
ating
bill
bills
adva
nce
b.no
c.co
de
Room.
no
b.no
r.no
r.type
r.no
cost
descptio
n
f.type
f.co
st
f.item
co
st
Items,
faciltie
s
Bill.n
o
cost
day
chkout
status
32
Spm Project
Download this Document for FreePrintMobileCollectionsReport Document
Report this document?
Please tell us reason(s) for reporting this document
Top of Form
a4b2f0553f9f539

doc

Spam or junk

Porn adult content

Hateful or offensive
If you are the copyright owner of this document and want to report it, please follow these directions to submit a
copyright infringement notice.
Report Cancel
Bottom of Form
This is a private document.
Top of Form
a4b2f0553f9f539
Submit
Characters: 400
document_comme

4gen

Bottom of Form
Use your Facebook login and see what your friends are reading and sharing.
Other login options
Top of Form
http://w w w .scrib http://w w w .scrib

41909660 dow nload Scribd.logged_in

Bottom of Form
Signup

SYNOPSIS
INTRODUCTION
Hotel industry is one of the leading industries in India and as well as worldwide
today. Thus we have tried to focus our attention on this project by computerizing
it keeping in mind its importance. We have tried to develop this software, which
would be helpful in the hotel industry to make job easier, and time saved
here was a time when all the work in the hotels were performed manually like
customer’s records employee details, room status & billing etc. but in today’s
world life is to fast therefore our motive is to minimize human labor and make all
the job more convenient.
This software also provides the security of data. Only the Admin. Can seek th
required information as this software has the concept of password, which is only
known to Admin.
This project is a live project which is based on a particular hotel i.e. Usha Shriram
hotel, situated in Delh
required information as this software has the concept of password, which is only
known to Admin.
This project is a live project which is based on a particular hotel i.e. Usha Shriram
hotel, situated in Delh

TOOLS AND TECHNOLOGY USED


The tools and technologies used for this module is Visual basic – 6 in the front-end
and MS-Access in the back-end.
Why Visual-Basic:-
Every programmer and developer today is in search of an ideal language and
platform, that is best and fast to create all kind of software applications. The
development of Visual-basic has created a pleasant revolution by proving itself to be
nearly perfect by satisfying their needs
Visual-Basic is highly interactive programming language, which is ideal for
developing applications for MS-Windows. It’s features increase productivity by
providing tools that are user friendly and help to create sophisticated applications.
Unlike other windows programming environments like Visual C++ , Visual Basic
programs are very simple to write. The very purpose of the parent language BASIC
(Beginners All Purpose Symbolic Instruction Code), which is to teach computer
programming to a beginner, has been retained in Visual Basic also. Visual Basic
relies very heavily on the windows user interface. Therefore the only pre-requisite to
work in Visual Basic environment is to have a firm understanding of how to use
mouse, windows, pull down menus and dialogue boxes.
Visual Basic is an event driven programming language. By event driven
programming it means that what should execute when specific events occur. The
biggest part of writing the programme in Visual Basic involves writing program codes
for the multitude of possible events that can occur to the forms and controls when
the program is running
Visual Basic as a programming language has proved to be easier compared
to other programming languages. It has many in-built tools, which make it one of the
most powerful windows programming environments.
In conventional programming languages like ‘C’ and ‘Pascal’ you have to
write codes to display visual objects on your user interface and specifically instruct
the user interface about the action it has to carry out when an event occurs. In Visual
Basic you have to draw the visual objects and then enter code in a module, which
has automatic built-in formatting and syntax checking capabilities. The user interface
in Visual Basic executes the action it has to carry out when an event occurs

Visual Basic as a programming language has proved to be easier compared


to other programming languages. It has many in-built tools, which make it one of the
most powerful windows programming environments.
In conventional programming languages like ‘C’ and ‘Pascal’ you have to
write codes to display visual objects on your user interface and specifically instruct
the user interface about the action it has to carry out when an event occurs. In Visual
Basic you have to draw the visual objects and then enter code in a module, which
has automatic built-in formatting and syntax checking capabilities. The user interface
in Visual Basic executes the action it has to carry out when an event occurs.
Examples of some of the events:-
Events that happen with forms:-
Load: It is executed with the start up of the form.
Unload: This is used to free the memory taken by the form.
Events that happen with the controls:-
Click: This event is generated when a command button is chosen.
Double Click: This is generated when an object is double clicked.
Change: This event responds to changes to a control.

Error Handling in Visual Basic:-


The most important part in the project is error handling. In all the other languages
except Visual Basic error handling is the most complex part but in Visual Basic it’s a
child’s play. In Visual Basic the errors and mistakes that are committed when
entering the code at design time lead to the display of error messages during
compilation and run-time. Mistakes that do not allow the functioning of the program
to it are desired tasks are known as bugs. We can avoid some of the bugs during
application design by pre-planning. Minor bugs usually do not affect the program
from serving its purpose. They may slow down the computer, change color etc.
Major bugs are severe and will affect the program from being used correctly. They
may erase files, generate a general protection failure etc. All these bugs no matter
minor or major may be handled in Visual Basic by certain error statements. These
error statements are:-
1.On Error Go To Line: This enables the handling routine that starts at any line
label or line numbe
2.On error Resume Next: This specifies that when a run-time error occurs,
control branch to next statement immediately.
3.On Error GoTo 0: Disable any enabled error handler in the current
procedure.
Data Access In Visual Basic:-
Visual Basic allows accessing and manipulating data databases. It allows managing
databases, objects, and structures. It includes a number of features that makes
database access relatively simple like:
Close attachment with the MS-Access database program.
Data control to access and display database information with other controls.
Capability to work with ODBC and SQL Drivers in order to access and manage data
in relational databases

Visual Basic includes the Microsoft jet database Engine that powers MS-Access. It
allows to display, edit and update information from many types of databases.
In Visual Basic standard edition we can use the data control to access information in
existing databases. In Visual Basic professional edition we can also create or modify
databases using the data access objects programming interfaces.
Visual Basic provides the feature DDE, (Dynamic data exchange), which is a
establishes protocol that enables your application to directly & continuously
exchange data through active links between application that run under MS-Windows.
DDE depends on links between a Visual Basic program & other programs. The data
exchange is called Conversation. One can exchange data by establishing DDE links.
These links can be created during design time as well as run-time.
Visual Basic also enables to create an application, which displays data from much
different application & also allows editing the data from with in the application in
which it was created.
Thus with all the above-mentioned features, Visual Basic has created a pleasant
revolution by proving itself to be nearly perfect by satisfying their needs. So, it was
used as a front-end tool in our module.

Why Access:
A database is a collection of information that’s related to a particular subject or
purpose, such as tracking customer orders or maintaining a music collection. If your
database is not stored on computer, or only part of it are, you may be tracking
information from variety of sources that you have to coordinate & organize yourself.
Using Microsoft-access, you can manage all your information from a single database
file. Within the file, divide your file into separate storage containers called table: view
add, update table data by using online forms; find & retrieve just the data you want
by using queries; & analyze the data base’s from the internet or an intranet by
creating data access pages.
To store the data, create one table for each type for each type of
information that you track. To bring the data form multiple tables together in a
query, form, data or data access page, define relationships between the tables.
To find & retrieve just the data meets condition that you specify, including data
from multiple tables, create a query. A query can also update or delete multiple
records at the same time, &perform predefined or custom calculation on your
data. To easily view, enter, & change data directly in the table, create a form.
When you open a form, Microsoft-access retrieves the data from one or
more tables, display it on the screen with the layout you choose in the form
wizard, or a layout that you create from scratch.
To analyze your data or present it a certain way in print, create a report For example,
you might print one report that groups data & calculates totals, &another report with
different date formatted for printing mailing mailing labels.
To make data available on the Internet or an intranet for interactive reporting, data
entry, or data analysis, use a data access page. Microsoft-access retrieves the data
rom one or more tables & displays it on the screen with the layout you choose in the
page wizard, or a layout that you create from scratch. User can interact with the date
by using features on the data access page.

FEASIBILITY STUDY
The first step involved in computerizing a system is to conduct feasibility study to
deter-mine whether it be possible to install a system for processing the data,
keeping of records etc. & whether the cost of such computerization would justify
the benefits accrued in terms of increased efficiency & reduction of work load of
all concerned operating staff.
Accordingly, visiting the hotel &getting the necessary information system was
considered to be feasible.

The volume of data involved was high & needed large number of staff to
manage the record.

There was need for improved management information to extend facilities.

There was infrastructure available to install the computer system besides
this counter staff was quite suitable to operate a computerized system

FEASIBILITY STUDY
The first step involved in computerizing a system is to conduct feasibility study to
deter-mine whether it be possible to install a system for processing the data,
keeping of records etc. & whether the cost of such computerization would justify
the benefits accrued in terms of increased efficiency & reduction of work load of
all concerned operating staff.
Accordingly, visiting the hotel &getting the necessary information system was
considered to be feasible.

The volume of data involved was high & needed large number of staff to
manage the record.

There was need for improved management information to extend facilities.

There was infrastructure available to install the computer system besides
this counter staff was quite suitable to operate a computerized system.

The operating staff was quite responsive & encouraging in the proposed
computerization plans.

There was a satisfactory manual system of record keeping & procedures.
The problem was excessive workload, which could not be coped up with the
available staff

SYSTEM ANALYSIS
Analysis is the detailed study of various operation performed by the system with the
intent of improving it through better process and methods. System analysis means a
detailed description before computerizing system under consideration, it has to be
analyzed, we need to study how it function currently? What are problems and what
are requirement that proposed should meet.
The main components of making software are: -
1. System and Software analysis
2. Design and implementation of software.
3. Ensuring, verifying and marinating software integrity.

INformation Gathering
The team gathers all the information by visiting at the site to have information of
existing system. All relevant personal were consulted and no information was
over-looked. To gather information one has to perform different methods: -
1. Identify information sources
2. Revolving a method of obtaining information from identified source.
3. Using information from module of organization

Information Sources
The main sources of information were: -
1. Users of the system
2. Presentations and documents using organization
3. Computer presentation of existing system

EXISTING SYSTEM
In the existing system, automated mechanism is absent to maintain small hotels.
The previous mechanism used by hotel is either manual or maintain cash
registers. The bill is being given to customer from their bill book. So they find it
difficult to manage hotel. The main problems in the existing system are as under:
-
 The existing system does not provide security from other members. Any
member of hotel can easily access the data by seeing or getting the
information from the register & that person can misuse the information
gained from records.
There was no technology to maintain customer record; staff records
department record or other record in the existing system, which could have
been useful to higher authorities.
 In the existing system the user will have to calculate the amount manually
for services provided to customer. And by doing so there may be chance
of committing mistake.
Customers always desire to know the relevant details like –The room
availability at various floors & the status of rooms i.e. single or double etc
 The reservation of rooms for a particular day or date is not effectively
maintain by the user in the existing system.
 The existing system does not indicate the vacancy of room’s category
wise

PROPOSED SYSTEM
A close scrutiny of the existing system clearly shows that it does not meet the
requirement of the organization adequately. To make it more effective & user
friendly the computerization of information system will be an essential addition
to it. It will process the data’s more accurately & quickly. To achieve this it is
necessary to design & develop a new system, which have the following
benefits over existing system:-
o
Flexibility in generation of information: The generation of reports
in the proposed system will take minimum time and will be more
accurate.
o
Less time to derive conclusions: User of the proposed system can
compile information at higher speed, make comparisons for distinct
periods and draw the conclusions speedily.
o
Ease in maintenance of information: The maintenance of
information in the new system will be much easier as new information
is added with every new customer getting in and checking out.
o
User friendliness: This system is very easy to learn and understand
and even a novice can use the system effectively

PROPOSED SYSTEM
A close scrutiny of the existing system clearly shows that it does not meet the
requirement of the organization adequately. To make it more effective & user
friendly the computerization of information system will be an essential addition
to it. It will process the data’s more accurately & quickly. To achieve this it is
necessary to design & develop a new system, which have the following
benefits over existing system:-
o
Flexibility in generation of information: The generation of reports
in the proposed system will take minimum time and will be more
accurate.
o
Less time to derive conclusions: User of the proposed system can
compile information at higher speed, make comparisons for distinct
periods and draw the conclusions speedily.
o
Ease in maintenance of information: The maintenance of
information in the new system will be much easier as new information
is added with every new customer getting in and checking out.
o
User friendliness: This system is very easy to learn and understand
and even a novice can use the system effectively.
o
User satisfaction: The system stands up to the expectations of user
by giving him the easy access and retrieval of information.
o
Accuracy: As the information is prepared electronically hence it
tends to be highly accurate than in the existing system.
o
Less time consumption: The time taken by the staff to carry out
various jobs is much less in the proposed system, thus making it
more economic and fast

REQUIREMENT ANALYSIS
The origin of most software system is in the need of a client, who
either wants to automate an existing manual system or desires a new
software System. Thus there are three major parties interested in a new
system: the client use and the developers. The basic purpose of software
requirement specification is to bridge communication gap between the
software development process and client problems.
I have done this analysis in order to make a prototype of what the new
system should look like. Since my main aim is to learn that how projects are
made and maintained, so this project of mine has gone through all stages of
software development process

System Requirement
HARDWARE
INTEL PENTIUM 500 MHZ
64 MB RAM
1.2G.B HARD DISK
OPERATING SYSTEM
WINDOWS 98
SOFTWARE
VB6.0, MS ACCESS

Performance requirement
The following characteristics are taken care of while developing the
system
 User friendly: The system should be easy to learn and
understand .A naïve should be able to use the system effectively,
without any difficulty.
 User satisfaction: The system is such that it stands up to the user s
expectation.
 Response time: The response time for an operation should be
much less as it can be. This has to be taken care of while
programming.
 Safety and Robustness: The project should be able to avoid or
tackle disastrous action .The system should safeguard against
undesired events without human intervention

Acceptance criteria
The following acceptance criteria were established for evaluation of the new
system:
1. The system developed should be accurate and hence reliable that is
the error rate should be minimized and the output should be accurate
and consistence.
2. The-developed software should provide all functions. Further, the
execution time should be very low and response time should be good
3 .It should satisfy the criteria specified in the functional and performance
requirement.
4-. The system should have a scope of future modification and
enhancement that is; it should be able to cope with the business
changes.
5-. The system must satisfy the standards of good software that are:
User friendly, modularity, maintainability, timeliness.

Exception handling
To ensure that the system does not halt in case of undesired situation
or event, the exceptional conditional should be taken care by providing
the corresponding exception responses while developing the system .All
the error handling and validation are to be provided with the system.
Some of them are: displaying proper data types of value should be
checked while entering them in databases or display error message
otherwise, exception handling which are raised if the connections made
are not proper from application to the databases etc

Problem handling
This project aims at providing user-friendly software, which will automate
the working of a bank. The proposed aim is to provide the following:
1. Providing the user with an integrated package so that working can be
coordinated
2. To remove data redundancy and gain consistency.
3.To provide a vision RDBMS on each of the user’s desktop and a
system which could be integrated with the corporate databases of the
main network.
4.Providing methods of auditing the system
5.To prepare all the reports required and allowing the user to solve some
of the queries he might have.
6.To provide user-friendly environment.
7.To develop a system such that it stands to the user expectation.

DATABASE DESIGN
Database is a collection of records .In this project I have used
MICROSOFT ACCESS 97 .In Microsoft Access I have used a database
and nine tables.
Following are the design of the table, which I used in project
NAME OF THE DATA BASE: CHAN
NUMBER OF THE TABLE:
NINE
NAME OF THE TABLE USED:
1.
BLLINGDETAIL
2.
CHKINROOMS
3.
CHKOUTROOMS
CUSTOMERDETAILS
5.
CUSTOMERREPORT
6.
EMPLOYEEDETAIL
7.
FACILITIES
8.
FOOD
9. ROOM

DFD
SYMBOLS USED IN DATA FLOW DIAGRAMS
The DFD was fast developed by larry constantine as a way if expressing system
requirements.
1. A Square defines a source or destination of system date.
2. An arrow identifies data flow data in motion. It is a pipeline through which
information flows.
3. An open rectangle is a data store data at rest.
4. An oval bubble represents a process that transforms incoming data flow to
outgoing data flow
isitor
1.0
Reception
2.0
Room
Status
3.0
Facilities
4.0
Food
Facilities
5.0
Check
Out
6.0
Generation of
Slip
Check in

Table of Contents
1. Cover Page
2. Certificate
3. Acknowledgement
4. Table of Contents
5. Synopsis
6. Feasibility Study
7. System Analysis
8. Requirement Analysis
Design
• Table Design
• DFD
• ER Diagram
10. Coding
10. Testing & Debugging
12. Conclusion
13. Bibliography

Vous aimerez peut-être aussi