You are on page 1of 42

1.

INTRODUCTION

1.1 SYNOPSIS

HOTEL AND RESORT SYSTEM was developed following system development stages for
smooth running and management of ABC hotel. The seven months provided by the Kenya
national examination council enabled the system analyst recognize and define the problem in the
current manual system at the hotel. After an information gathering process from several hotels
managed by manual and computerized systems, the system analyst saw that the hotel indeed
needed a computerized management system.
After a close analysis of samples collected during the problem definition stage the analyst
found that all the hardware and software requirements needed for implementation and
maintenance of the system are readily available in the market and cheaply affordable by the
hotel. The system was carefully designed to ensure maximum efficiency of the system at the
hotel. The system was skillfully and carefully coded to seal any possible loopholes in the system.
The system was developed using visual basic for applications (Microsoft access) language.
This system will indeed help the hotel management and the esteemed staff members to manage
and steer the hotel’s functionality and transactions to realize its maximum potential in addition to
its competence in the hotel business field.

1
1.2 ABOUT THE PROJECT
The system will cover; booking, accommodation, meals, and accounts details. Moreover,
special services such as laundry, ironing and room service will be automated by the system also,
not to forget the additional facilities information that will be efficiently handled by the system.
To help the system smoothly carry out its intended purpose to meet the hotel management needs.

 The system enables easy and fast access to the guest files.

 The system provides better data management facilities.

 The system enable online booking of guests into the hotel hence international guests can
easily book into the hotel.

 The system provides performance evaluation of the employees to ensure maximum output
from the employees.

 The system provides security measures to access to the hotel’s information lowering data
security threats.

 The system help reduce the congestion of guests ensuring best service output for customer
satisfaction purposes.

 Easy update of the guest records.

 High customer service standards attract more guests to the hotel.

 Reduction of data entry and processing errors.

 Greatly reduce paper use at the hotel.

2
2. SYSTEM ANALYSIS

2.1 FEASIBILITY STUDY

Preliminary investigation examine project feasibility, the likelihood the system will
be useful to the organization. The main objective of the feasibility study is to test the Technical,
Operational and Economical feasibility for adding new modules and debugging old running
system. All system is feasible if they are unlimited resources and infinite time. There are aspects
in the feasibility study portion of the preliminary investigation:
 Technical Feasibility
 Operational Feasibility
 Economical Feasibility

TECHNICAL FEASIBILITY
The technical issue usually raised during the feasibility stage of the investigation
includes the following:
 Does the necessary technology exist to do what is suggested?
 Do the proposed equipments have the technical capacity to hold the data required to use the
new system?
 Will the proposed system provide adequate response to inquiries, regardless of the number or
location of users?
 Can the system be upgraded if developed?
 Are there technical guarantees of accuracy, reliability, ease of access and data security?

3
Earlier no system existed to cater to the needs of ‘Secure Infrastructure Implementation
System’. The current system developed is technically feasible. It is a web based user interface for
audit workflow at NIC-CSD. Thus it provides an easy access to the users. The database’s
purpose is to create, establish and maintain a workflow among various entities in order to
facilitate all concerned users in their various capacities or roles. Permission to the users would be
granted based on the roles specified. Therefore, it provides the technical guarantee of
accuracy, reliability and security. The software and hard requirements for the development of
this project are not many and are already available in-house at NIC or are available as free as
open source. The work for the project is done with the current equipment and existing software
technology. Necessary bandwidth exists for providing a fast feedback to the users irrespective of
the number of users using the system.

OPERATIONAL FEASIBILITY
Proposed projects are beneficial only if they can be turned out into information system.
That will meet the organization’s operating requirements. Operational feasibility aspects of the
project are to be taken as an important part of the project implementation. Some of the important
issues raised are to test the operational feasibility of a project includes the following: -
 Is there sufficient support for the management from the users?
 Will the system be used and work properly if it is being developed and implemented?
 Will there be any resistance from the user that will undermine the possible application
benefits?

This system is targeted to be in accordance with the above-mentioned issues. Beforehand,


the management issues and user requirements have been taken into consideration. So there is no
question of resistance from the users that can undermine the possible application benefits.
The well-planned design would ensure the optimal utilization of the computer resources and
would help in the improvement of performance status.

4
ECONOMICAL FEASIBILITY
A system can be developed technically and that will be used if installed must still be a
good investment for the organization. In the economical feasibility, the development cost in
creating the system is evaluated against the ultimate benefit derived from the new systems.
Financial benefits must equal or exceed the costs.
The system is economically feasible. It does not require any addition hardware or
software. Since the interface for this system is developed using the existing resources and
technologies available at NIC, There is nominal expenditure and economical feasibility for
certain.

2.2 EXISTING SYSTEM

The current manual system uses paperwork and direct human language communication by
mouth to manage the hotel. This delays information transmission in the hotel. Booking is done
through phone calls or through visit to the hotel booking office. The guest’s personal details such
as Name, Age, Nationality, and Duration of stay, are input during booking in. The booking office
orders for preparation of the guest’s room before his/ her check in date.

The documents are transferred manually to the filling department for compilation of the
guest’s file. On the reporting date the file is transferred to the reception. On checking in the guest
is given the key to his allocated room, he also specify if he needs room service. The receptionist
hands over the guest’s file to the accountant on the next table. Here the guest pays
accommodation and meals fee. The guest’s file is updated on daily basis of his expenditure costs.
The accounts department generates the bills on daily basis and delivered to the guests in their
rooms at dusk by the service maids. The guest pays at the accounts desk, where the receipts are
generated.

5
2.3 PROPOSED SYSTEM

The Automated system with distributed architecture can support issues like.

1. The system maintains the different location that are available and registered in a central DB,
which leads easy accessibility and consistency.
2. Each Accommodation available units and all the unit facilities are also available at the click
of a mouse.
3. The registration of new guest is online house new guest can make them they convenient for
registration process on the basic of 24x7x326days.
4. The Units can be booked by the registered guest irrespective of the Geographical barriers.
5. The Guest are provided with up to minute information related to the unit availability and their
status. From their convenient place.
6. The decision process in faster and more consistent.
7. The guest have information at their demand related to any unit status of their own unit
booking status

6
3. SYSTEM SPECIFICATION

3.1 HARDWARE REQUIREMENTS:

SYSTEM : Pentium III 700 MHz

HARD DISK : 350 GB

MONITOR : 15 VGA colour monitor

MOUSE : Logitech.

RAM : 2GB

KEYBOARD : 110 keys enhanced.

3.2 SOFTWARE REQUIREMENTS:

OPERATING SYSTEM : Windows XP Professional/7/8/8.1

SOFTWARE USED : Visual Studio 2010

7
3.3 SOFTWARE SPECIFICATION

Introduction to .NET Framework

.NET is a software framework which is designed and developed by Microsoft. The first version
of the .Net framework was 1.0 which came in the year 2002. In easy words, it is a virtual
machine for compiling and executing programs written in different languages like C#, VB.Net
etc. It is used to develop Form-based applications, Web-based applications, and Web services.
There is a variety of programming languages available on the .Net platform, VB.Net
and C# being the most common ones. It is used to build applications for Windows, phone, web,
etc. It provides a lot of functionalities and also supports industry standards.

Programming Languages which are designed and developed by Microsoft are:

Main Components of .NET Framework

Common Language Runtime(CLR): CLR is the basic and Virtual Machine component of


the .NET Framework. It is the run-time environment in the .NET Framework that runs the codes
and helps in making the development process easier by providing the various services such as
remoting, thread management, type-safety, memory management, robustness, etc.. Basically, it is
responsible for managing the execution of .NET programs regardless of any .NET programming
language. It also helps in the management of code, as code that targets the runtime is known as
the Managed Code and code doesn’t target to runtime is known as Unmanaged code.

Framework Class Library(FCL): It is the collection of reusable, object-oriented class libraries


and methods, etc that can be integrated with CLR. Also called the Assemblies. It is just like the
header files in C/C++ and packages in the java. Installing .NET framework basically is the
installation of CLR and FCL into the system. Below is the overview of .NET Framework

The combination of Operating System Architecture and CPU Architecture is known as


the platform. Platform dependent means the programming language code will run only on
particular Operating System. A .NET application is platform dependent because of the .NET
framework which is only able to run on the Windows-based operating system. The .Net
application is platform independent also because of Mono framework. Using Mono framework

8
the .Net application can run on any Operating System including windows. Mono framework is a
third party software developed by Novell Company which is now a part of Micro Focus
Company. It is a paid framework.

Common Type System (CTS)


It describes set of data types that can be used in different .Net languages in common.
(i.e), CTS ensures that objects written in different .Net languages can interact with each other.
For Communicating between programs written in any .NET complaint language, the types have
to be compatible on the basic level.
The common type system supports two general categories of types: 
Value types:
Value types directly contain their data, and instances of value types are either allocated on the
stack or allocated inline in a structure. Value types can be built-in (implemented by the runtime),
user-defined, or enumerations.

9
Reference types:
Reference types store a reference to the value's memory address, and are allocated on the heap.
Reference types can be self-describing types, pointer types, or interface types. The type of a
reference type can be determined from values of self-describing types. Self-describing types are
further split into arrays and class types. The class types are user-defined classes, boxed value
types, and delegates. 
Common Language Specification (CLS)
It is a sub set of CTS and it specifies a set of rules that needs to be adhered or satisfied by
all language compilers targeting CLR. It helps in cross language inheritance and cross language
debugging.
Common language specification Rules:
It describes the minimal and complete set of features to produce code that can be hosted by CLR.
It ensures that products of compilers will work properly in .NET environment. 
Sample Rules: 

1. Representation of text strings 


2. Internal representation of enumerations 
3. Definition of static members and this is a subset of the CTS which all .NET languages
are expected to support.
4. Microsoft has defined CLS which are nothing but guidelines that language to follow
so that it can communicate with other .NET languages in a seamless manner.

VB.NET

VB.NET is an update to Visual Basic that targets Microsofts .NET Framework. VB.NET has a
lot of similarities to Visual Basic but also some differences. VB.NET is an object-oriented
language, which supports the abstraction, encapsulation, inheritance, and polymorphism features.
It is the most productive tool for rapidly creating a wide range of Windows, Web, Mobile, and
Office applications built on the .NET Framework.

10
The Visual Basic language is designed to be human readable and accessible to everyone from
novice programmers to advanced system architects. All of this is built on top of the .NET
Framework, which guarantees that programs written in Visual Basic run with unsurpassed
scalability and reliability. The .NET Framework provides VB.Net programmers with the ability
to create fully object oriented programs (OOPs), just like the ones created using Java, C# or C++.

Visual Studio

Many programmers says VB.Nets ease of use as the key to its success. Using VB.NET, you can
create a wide variety of applications, such as a Console Applications, that displays its output in
an MS-DOS-like window, Windows Applications that often displays a form-based interface,
Web Applications, Web Services, Mobile Applications etc. I hope this site will help you to
acquire the skills and knowledge necessary to develop various types of applications in VB.NET
in a simplified manner rather than in a complex way.

C# 
C# is a general-purpose, modern and object-oriented programming language pronounced as “C
sharp”. It was developed by Microsoft led by Anders Hejlsberg and his team within the .Net

11
initiative and was approved by the European Computer Manufacturers Association (ECMA) and
International Standards Organization (ISO). C# is a lot similar to Java syntactically and is easy
for the users who have knowledge of C, C++ or Java.
A bit about .Net Framework .Net applications are multi-platform applications and framework can
be used from languages like C++, C#, Visual Basic, COBOL etc. It is designed in a manner so
that other languages can use it. Easy to start: C# is a high-level language so it is closer to other
popular programming languages like C, C++, and Java and thus becomes easy to learn for
anyone.
1. Widely used for developing Desktop and Web Application: C# is widely used for
developing web applications and Desktop applications. It is one of the most popular
languages that is used in professional desktop. If anyone wants to create Microsoft apps,
C# is their first choice.
2. Community: The larger the community the better it is as new tools and software will be
developing to make it better. C# has a large community so the developments are done to
make it exist in the system and not become extinct.
3. Game Development: C# is widely used in game development and will continue to
dominate. C# integrates with Microsoft and thus has a large target audience. The C#
features such as Automatic Garbage Collection, interfaces, object-oriented, etc. make C# a
popular game developing language.
ASP.NET

ASP.NET is a web development platform, which provides a programming model, a


comprehensive software infrastructure and various services required to build up robust web
applications for PC, as well as mobile devices.ASP.NET works on top of the HTTP protocol,
and uses the HTTP commands and policies to set a browser-to-server bilateral communication
and cooperation.ASP.NET is a part of Microsoft .Net platform. ASP.NET applications are
compiled codes, written using the extensible and reusable components or objects present in .Net
framework. These codes can use the entire hierarchy of classes in .Net framework.

The ASP.NET application codes can be written in any of the following languages:

 C#

12
 Visual Basic.Net

 Jscript

 J#

ASP.NET is used to produce interactive, data-driven web applications over the internet. It
consists of a large number of controls such as text boxes, buttons, and labels for assembling,
configuring, and manipulating code to create HTML pages.

ASP.NET Web Forms Model

ASP.NET web forms extend the event-driven model of interaction to the web applications. The
browser submits a web form to the web server and the server returns a full markup page or
HTML page in response.

All client side user activities are forwarded to the server for stateful processing. The server
processes the output of the client actions and triggers the reactions.

Now, HTTP is a stateless protocol. ASP.NET framework helps in storing the information
regarding the state of the application, which consists of:

 Page state

 Session state

The page state is the state of the client, i.e., the content of various input fields in the web form.
The session state is the collective information obtained from various pages the user visited and
worked with, i.e., the overall session state. To clear the concept, let us take an example of a
shopping cart.

User adds items to a shopping cart. Items are selected from a page, say the items page, and the
total collected items and price are shown on a different page, say the cart page. Only HTTP
cannot keep track of all the information coming from various pages. ASP.NET session state and
server side infrastructure keeps track of the information collected globally over a session.

The ASP.NET runtime carries the page state to and from the server across page requests while
generating ASP.NET runtime codes, and incorporates the state of the server side components in

13
hidden fields. This way, the server becomes aware of the overall application state and operates
in a two-tiered connected way.

The ASP.NET Component Model

The ASP.NET component model provides various building blocks of ASP.NET pages.
Basically it is an object model, which describes:

 Server side counterparts of almost all HTML elements or tags, such as <form> and
<input>.

 Server controls, which help in developing complex user-interface. For example, the
Calendar control or the Gridview control.

ASP.NET is a technology, which works on the .Net framework that contains all web-related
functionalities. The .Net framework is made of an object-oriented hierarchy. An ASP.NET web
application is made of pages. When a user requests an ASP.NET page, the IIS delegates the
processing of the page to the ASP.NET runtime system.

The ASP.NET runtime transforms the .aspx page into an instance of a class, which inherits from
the base class page of the .Net framework. Therefore, each ASP.NET page is an object and all
its components i.e., the server-side controls are also objects.

14
4.SYSTEM DESIGN
4.1 SYSTEMFLOWDAIGRAM

Fig 4.1.1 System flow diagram

15
4.2 DATAFLOW DIAGRAM:

LEVEL-0

Customer
Management

Booking
Hotel Management
Management

Hotel and
resort
system

System User
Room category Management
Management

Login
management

Fig 4.2.1Data flow diagram LEVEL 0

16
LEVEL-1

Generat Hotel
Hotel management report

Generate room
report
Room management

Generatebooking
Booking report
Hotel and
management
resort
system Generate customer
report
Customer
management
Check user login
report
Login management

Generate system
System user user report
management

17
4.2.2 Data flow diagram LEVEL 1

18
LEVEL 2:

Manage hotel
login to detail
check
system
Admin roles
Manage room
details

manage customer
Forget details
Password check
user manage
module manage payment
details
Fig 4.2.3 Data flow diagram
LEVEL 2 Manage room
category details
send
email

Manage booking
details
ER
DIAGRAM:

Manage system manage role of manage user


manage report
admin user permission

Fig 4.2.4 ER diagram LEVEL 3

19
5.SYSTEM DESCRIPTION

MODULES:
 Accommodation Information Module
 Units Information Module.
 Bookings Information Module.
 Guests Information Module.
 Facilities Information Module.

ACCOMMODATION INFORMATION:
This module maintains all the details of the Accommodation location that are available
and the units that are available under each location along with their reference unit types.
UNITS INFORMATION:
This module maintains the information regarding all the units that are registered as per
specifications and their reference unit types. The module also takes care of the system from the
unit facilities and reference unit facilities that are available.
BOOKING MODULE:
This module maintains the information of all the booking of the units, as pet the guest
requirements, it searches itself with the units station database and the specific registered guest
who have raised the demand upon the booking.
GUEST MODULE:
This module maintains the overall activities through which a guest is uniquely registered
is the domain the module interpreter with the specific gender status and also centrally sets with
interpretation through booking and registry to unit status.
FACILITIES MODULE:
This module maintains the overall activities in the facilities that are available are provided all or
some of the specified units. This module helps in registering the reference unit facilities that may
creep in into the system from time to time
20
6. SYSTEM TESTING

Testing is dynamic method for verification and validation, where the system to be tested
is actually executed and the behaviors of the system is observed. Software testing can be looked
upon as along much process of software development organizations performs that provides the
last opportunity to correct any flaws in the developed system. A system testing is a series of
different tests whose primary purpose is to fully exercise the computer based system.

Testing accounts for largest percentage of technical effort in the software development
process. Software testing must accommodate low level tests that are necessary to verify that a
small source code segment has been correctly implemented as well as high level test that validate
major system functions, against customers’ requirements. No testing is complete without
verification and validation.

6.1 SYSTEM TESTING:

Testing the system as a whole to validate the system that it meets its specification and
objectives of it users. The system must be tested as they are developed and as subsystems are
created. Testing is considered as the least creative phase of the whole cycle of system
design.System testing is the first time that the entire system can be tested against
theFunctional Requirement Specification (FRS)and/or the System Requirement Specification
(SRS).System testing is testing conducted on a complete, integrated system to evaluate
thesystem's compliance with its specified requirements.

21
The testing activity includes module by module testing which include:

 Unit Testing

 Integration Testing

 Stress Testing

 Acceptance Testing

 Performance Testing

 Security Testing

6.2 UNIT TESTING:

It is the testing done on a single subroutine or a module. A unit test is a procedure used to
validate that a particular module of source code is working properly. The idea about unit tests is
to write test cases for all functions and methods so that whenever a change causes a regression, it
can be quickly identified and fixed. In this we are detecting the edges of the image by using edge
detection technique.

Unit testing comprises the set of tests performed by an individual programmer prior to
integration of the unit into a larger system Coding & debugging (unit testing (integration testing.
A program unit is usually small enough that the programmer who developed it can test it in great
detail, and certainly in greater detail than will be possible when the unit is integrated into an
evolving software product. The method has been applied on several 2D medical image data sets
and it has successfully determined both thresholds and gradients for different tissue interfaces
even when some of the thresholds are almost impossible to locate in their histograms.

The unit testing is done with the several of the medical images present in the dataset. And
this is being marked and it is being detected.

22
6.3 INTEGRATION TESTING:

Integration testing is the phase of software testing in which individual software modules
are combined and tested as a group.Integration testing takes as its input modules that have been
checked out by unit testing, groups them in Trigger aggregates, applies tests defined in an
Integration test plan to those aggregates, and delivers as its output the integrated system ready for
system testing. The purpose of Integration testing is to verify functional, performance and
reliability requirements placed on major design items

Strategies for integrating software components into a functioning product include the
bottom-up strategy, the top down strategy and the sandwich strategy .Careful planning and
scheduling are required to ensure that modules will be available for integration into the evolving
software product when needed. The integration strategy dictates the order in which modules must
be available, and thus exerts a strong influence on the order in which modules are written,
debugged, and unit tested.

In this integration testing is processed by the giving the input of brain image and it
processed in all the modules explained and after all the process completed the output recorded is
correct or not is being verified. The figure shows the various results are being analyzed during
the segmentation process.

23
6.4 ACCEPTANCE TESTING:

Acceptance testing involves planning and execution of functional test, Performance test,
and stress test to verify that the implemented system satisfies its requirements. Acceptance tests
are typically performed by the quality assurance and/or customer organizations. Depending on
local circumstances, the developed.Is to demonstrate the users of the system that the system is
acceptable. The system must process the data required by the user. It can be carried out before or
after the system has been installed. In this we should give the medical image only for the
analyses. If we give an image the system should not work it should properly defined.

6.5 STRESS TESTING:

Stress testing is a form of testing that is used to determine the stability of a given system.
It focuses on the system beyond the maximum design load. When a system is overloaded, it
should degrade gracefully rather than fails catastrophically. That is if all the edge detection
techniques are performed simultaneously ,then it will give the result without any interruption.

6.6 PERFORMANCE TESTING:

Performance testing is testing that is performed to determine how fast some aspect of a system
performs under a particular workload. Performance testing can be combined with stress testing,
in order to see what happens when an acceptable load is exceeded. Here the performance testing
is measured by True positive, False positive, False Negative, where the number of correctly
detected edge pixels called true positive, the number of pixels erroneously classified as edge
pixels called False Positive (FP) and the amount of edge pixels that were not classified as edge
pixels called False Negative (FN). From these measures, some statistical indices have been
proposed such asPco, Pnd, Pfa. These measures are used to compare the results.

24
7. Backup and Maintenance

The main phase of the software cycle is the time in which software performs useful work.
After a system is successfully implemented it should be maintained is a proper manner, system
maintenance is an important aspect is the software development lifecycle. The need for system
maintenance is to makes adaptable to the changes is the system environment there may be social
technical and order environment change, which affect a system which is being implemented.
Software product enhancement may involve providing new functional capabilities improving
uses displays and mode of interaction, upgrading the performances characteristics of the system.
So only the proper system maintenances produces the system can be adapted to scope up with
their changes , software maintenance if of course for more than “finding mistakes”.

Corrective Maintenance:
The first maintenance activity occur because it is unreasonable to assume that
software testing will uncover all latent error is a large software system during the use of any
large diagnosis and correction of one or more error is called corrective maintenance.

Adaptive Maintenance:
The second activity is that contributes to a definition of maintenances occur because
of the rapid changes that is encountered in every aspect of computing. Therefore adapting
maintenance termed as an activity that modifies software to properly interface with a changing
environment is both necessary and common place.

Perceptive Maintenance:
The third activity that may be applied to a definition of maintenances occur when a software
package is successful as the software issued recommendation for new capabilities modification
to existing functions and general enhancement are received from users, to satisfy request in this
category, perceptive maintenance is performed. This activity account for the majority of all effort
expended on the software maintenance.

Preventive Maintenance:
25
The fourth Maintenance activity occurs when software is changed to improve the future
maintainability or reliability or to provide a better basic for future enhancement of an called
preventive maintenance. This activity is characterized by reverse engineering and reengineering
technology

26
8. FUTURE ENHANCEMENT

various benefits associated with this work and the results of the implemented system make it
suitable for any hotel) Therefore it is recommended for any hotel especially those with a large
turnout of customers and where loss of customer’s information is common) This will protect the
interest of the hotel owners and enhance good performance of the services provided). Due to the
fact that there will always be an increase in the expectations and demand of customers and hotel
owners and administrators will always demand greater effectiveness and efficiency of 
 
any system and prevention of unauthorized access into the system it is recommended that
constant research be carried out and regular updates made to increase the reliability of
the present system. The growth of a hotel organization also depends on how well their resources
(human, Assets are managed, how well they treat their customers (hospitality leading to large
turn-up, quality of service rendered to customers and efficiency of the system in use.
It is therefore recommended to
always put these factors into consideration when implementing any policies within the
organization

27
9. CONCLUSION
The entire project has been developed and deployed as per the requirements stated by the
user, it is found to be bug free as per the testing standards that are implemented. Any
specification untraced errors will be concentrated in the coming versions, which are planned to
be developed in near future. The system at present does not take care of the money payment
methods, as the consolidated constructs need SSL standards and are critically to be initiated in
the first face, the application of the credit card transactions is applied as a developmental phase
in the coming days. The system needs more elaborative technicality for its inception and
evolution.

28
APPENDIX

SCREEN SHOT

Login page

29
Main page:

Billing page:

30
Order page:

31
CODING:

Loging page

Public Class Form1


Dim a As Integer = 0
Dim b As Integer = 0
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
If TextBox1.Text = "" Then
ErrorProvider1.SetError(TextBox1, "do you have current password")

Else
ErrorProvider1.Clear()
ErrorProvider1.Icon.Dispose()

End If
If TextBox1.Text = "PANDI" And TextBox2.Text = "PANDI" Then
MsgBox("VALID PASSWORD")
Timer1.Enabled = True
Else
MsgBox("INVALID PASSWORD")

End If
End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Timer1.Tick
'ProgressBar1.Value = a
'Label2.Text = "Time Remaining :" + CStr(50 - b) + "seconds"
'a = a + 2

32
'b = b + 1
'If a > 100 Then
' End
'End If
If (a = 0) Then
Label3.Text = "LOADING.............................."
End If
If (a = 10) Then
Label3.Text = "LODING COFFEE SHOP MANEGEMENT SYSTEM............."
End If
If (a = 20) Then
Label3.Text = "PLEASE WAIT.......................!"

End If
If (a = 30) Then
Label3.Text = "LODING COFFEE SHOP MANEGEMENT SYSTEM............."""

End If
If (a = 40) Then
Label3.Text = "PLEASE WAIT.......................!"
End If
If (a = 50) Then
Label3.Text = "LODING COFFEE SHOP MANEGEMENT SYSTEM"
End If
If (a = 60) Then
Label3.Text = "LOADING......................@"
End If
If (a = 70) Then
Label3.Text = "PLEASE WAIT.......................!"""

End If
33
If (a = 80) Then
Label3.Text = "ALMOST DONE....................***"
End If
If (a = 90) Then
Label3.Text = "PROCESS....................ING...."

End If
If (a = 95) Then
Label3.Text = "DONE.........!!!"

End If
a += 1
If (a >= 100) Then
Timer1.Enabled = False
Dim OB As New Form1
Form2.Show()
Me.Hide()
End If
ProgressBar1.Value = a

End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load
Timer1.Enabled = False
End Sub
End Class

Public Class Form2

34
Private Sub VegToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles VegToolStripMenuItem.Click
Dim ob As New Form3
Form3.Show()

End Sub

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


System.EventArgs) Handles NonvegToolStripMenuItem.Click
Dim ob As New Form4
Form4.Show()
End Sub

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


System.EventArgs) Handles RegisterToolStripMenuItem.Click
Dim OB As New Form
Form5.Show()

End Sub

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


System.EventArgs) Handles JuiceToolStripMenuItem.Click
Dim OB As New Form7
Form7.Show()

End Sub

35
Private Sub SigleAcnonAcToolStripMenuItem_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles SigleAcnonAcToolStripMenuItem.Click
Dim ob As New Form8
Form8.Show()
End Sub

Private Sub DoubleAcNonAcToolStripMenuItem_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles DoubleAcNonAcToolStripMenuItem.Click
Dim K As New Form
Form9.Show()

End Sub

Private Sub ChettiNaduItemToolStripMenuItem_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs)
Dim c As New Form5
Form5.Show()
End Sub
End Class

Public Class Form3

Dim price, qutity, totalamount, tax, gst As Integer


Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
price = Val(TextBox1.Text)
qutity = Val(TextBox2.Text)
totalamount = price * qutity
36
TextBox3.Text = totalamount
tax = Val(TextBox4.Text)
gst = Val(TextBox5.Text)
totalamount = tax + gst + totalamount
TextBox5.Text = totalamount

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button1.Click
Dim totalamount, gst As Integer
totalamount = Val(TextBox3.Text)
gst = Val(TextBox5.Text)
gst = totalamount * gst / 100
TextBox5.Text = gst

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button2.Click
Dim totalamount, tax As Integer
totalamount = Val(TextBox3.Text)
tax = Val(TextBox4.Text)
tax = totalamount * tax / 100
TextBox4.Text = tax
End Sub

Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load

37
'Dim i As Integer
'If i = 0 Then
' FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\biriyani.jpg")
' i=1
'ElseIf i = 1 Then
' FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\bombay1.jpg")
' i=2
'ElseIf i = 2 Then
' FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\chapatis.jpg")
' i=3
'ElseIf i = 3 Then
' FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\matar panner.jpg")
' i=4
'ElseIf i = 4 Then

' FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\sq1.jpg")
' i=0
'End If
End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Timer1.Tick
Dim i As Integer
If i = 0 Then
FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\biriyani.jpg")
38
i=1
ElseIf i = 1 Then
FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\bombay1.jpg")
i=2
ElseIf i = 2 Then
FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\chapatis.jpg")
i=3
ElseIf i = 3 Then
FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\matar panner.jpg")
i=4
ElseIf i = 4 Then
FindForm.BackgroundImage =
Image.FromFile("C:\Users\ELCOT\Downloads\veg\sq1.jpg")
i=0
End If
End Sub
End Class

Imports System.Data.OleDb
Imports System.Data
Public Class Form8
Dim con As New OleDbConnection
Dim com As New OleDbCommand
Dim ad As New OleDb.OleDbDataAdapter
Dim re As OleDbDataReader
39
Dim ds As New DataSet
Private Sub GroupBox1_Enter(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles GroupBox1.Enter
End Sub
Private Sub Form8_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Users\ELCOT\Documents\rest123.mdb")
con.Open()
Call display()
End Sub
Sub display()
ds.Clear()
ad.Dispose()
DataGridView1.Refresh()
ad = New OleDbDataAdapter("select * from rest", con)
ad.Fill(ds, "rest")
DataGridView1.DataSource = ds
DataGridView1.DataMember = "rest"
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
com = New OleDbCommand("insert into rest values(' " & TextBox2.Text & "',' " &
TextBox3.Text & " ', " & Val(TextBox4.Text) & ", '" & DateTimePicker1.Value & "','" &
DateTimePicker2.Value & "','" & TextBox7.Text & "','" & TextBox6.Text & "'," &
Val(TextBox5.Text) & ")", con)
com.ExecuteNonQuery()
Call display()
MsgBox("Inserted")
End Sub

40
Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles RadioButton1.CheckedChanged
TextBox7.Text = "Female"
End Sub

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


System.EventArgs) Handles RadioButton2.CheckedChanged
TextBox7.Text = "Male"
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button2.Click
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox7.Text = ""
End Sub
End Class

BIBLIOGRAPHY
1. 50 years ago and now: a record of hotel progress: reprinted from the golden anniversary
edition Hotel red book. New York American Hotel Association Directory Corporation,
1935. (128)
2. Catering management: a comprehensive guide to the successful management of hotel,
restaurant, boarding house, popular café, tea rooms, and every other branch of catering,
including a section on law and the caterer. London: Waverly Book Co., 1919.
3. Ideas for refreshment rooms; hotel, restaurant, lunch room, tea room, coffee shop,
cafeteria, dining car, industrial plant, school, club, soda fountain; a ready reference to

41
catering methods, covering a wide range of practice. Chicago: The Hotel Monthly Press,
1923. (2 l , 376)
4. Practical hotel management: a handbook of essential information for proprietor &
manager. London: Caterer Pub. Co., 1926. (vi, 248)
5. Aikens, Charlotte Albina. Hospital housekeeping. Detroit Mich: D.T. Sutton, 1906. (164)
6. Aikens, Charlotte A. Hospital housekeeping. Detroit Mich: D.T. Sutton, 1910. (162)
7. Aikens, Charlotte Albina. Hospital housekeeping. Detroit Mich: D.T. Sutton, 1913. (162)
8. Aikens, Charlotte A. Hospital management; a handbook for hospital trustees,
superintendents, trainingschool principals, physicians, and all who are actively engaged
in promoting hospital work. Philadelphia: Saunders, 1911. (488)
9. Albert Pick & Company (Chicago). Equipment for cafeterias, lunch rooms, restaurants
and dining rooms, kitchen equipment. Chicago: The Company, 1920. (86)
10. American Dietetic Association. Food Administration Section. Care of food service
equipment. Minneapolis, Minn.: Burgess Publishing Co., 1944. (86)

WEBSITES:

 www.mathworks.com
 www.tutorialspoint.com
 www.engineersgarage.com

42

You might also like