Tourism and Management Final
Tourism and Management Final
No.
1. ABSTRACT 01
2. INTRODUCTION 02-06
1.1 SOLUTION OF THESE PROBLEMS
1.2 FEATURES OF VISUAL BASIC
1.3 PROGRAMMING PROCESS
3. SYSTEM ANALYSIS 07-08
2.1 SYSTEM ANALYSIS NECESSARY
2.2 ROLE OF SYSTEM ANALYST
4. SYSTEM DESIGN 09-12
3.1 SDLC(SYSTEM DEVELOPMENT LIFE
CYCLE
3.2 DATA FLOW DIAGRAM
3.3 DESIGN SPECIFICATION &
REQUIREMENT
5. DATA FLOW DIAGRAM 13
6. E-R DIAGRAM 14-15
7. IMPLEMENTATION 16-17
8. CODING 16-33
9. SCREEN SHOT 34-43
10. FEASIBILITY STUDY 44
12. CONCLUSION 46
13. BIBLIOGRAPHY 47
ABSTRACT
INTRODUCTION-:
SCOPE:
RESOURCES REQUIRED: -
INTRODUCTION OF PROJECT
OBJECTIVE
Different modules have been incorporated in this project to handle different parts and
sectors of the tour management field.
The present systems are inadequate in providing information and advices to the
agencies and customers about tour plans. Often agencies are compelled to rely on local
information sources and count on their own experiences regarding time and cost.
Through phone call they have to get information.
The development of this new system contains the following activities, which try
to automate the entire process keeping in the view of database integration approach.
User Friendliness is provided in the application with various controls provided by
system Rich User Interface.
The system makes the overall management much easier and flexible.
This can give the good security for user information because data is not in
client machine.
There is no risk of data management at any level while the project development
is under process.
Visual Basic includes certain low level features that normally available only
in assembly or machine
Your programs interface may include the familiar controls that window
users already know how to operate-such as command buttons, option list, text boxes and
scroll bars.
With just a few mouse actions, you can add any combination of these
controls to a program.
As a result, design tasks that used to require many hours of detailed
programming efforts can how be completed in minutes.
In Visual Basic you can quickly design the visual elements of any new
programming project.
2. Creating the Visual Basic portion of the application (the serene and menus that
the users will interact with)
3. Adding the Visual Basic programming language code to tie the Visual Basic
elements together and to automate the program.
5. Compiling the tested application and distribute the compiled application to the
Visual basic includes a special helper’s system called a debugger that the programmer
can use to help locate bugs that appear during testing. The debugger is an interactive
monitoring system that you turn on and off inside Visual Basic that helps you locate
statements that may contain bugs.
Programming Maintenance
Apart from the bugs, the programmer has to maintain the program he /she has created.
Program Maintenance is a term used for the updating of a program after the program
after the program is put into use. This updating may be a result of the users request or a
change in the way the program needs to operate.
Project
It allows the application to contain multiple documents windows. In effect, this interface
lets your work with several sets of data in multiple window within the program. Each
document window is called a child window.
It limits the application take on a window Explorer- like interface with topic summaries
in the left window an details for a selected topic in the right pane.
SYSTEM ANALYSIS
During system analysis some activities are carried out, such as problem
definition, design, implementation. Before designing the actual system/project, you
should know,
The system analyst is the person who guides the analysis, design and
implementation and maintenance of a given system. In performing these four tasks, the
analyst must always match the information system objectives with the goals of
organization.
of a new system so that during analysis they can discuss with users how to design a new
system that meets the requirements.
2. System analyst has to provide different solutions to the problem, to satisfy user
requirements.
3. The system analyst must be a able to find out the details about the system itself. To
do this, the analyst will have to look at such things as forms (input, output formats), data
used by the organization.
4. System analyst must also be able to work in environments that have considerable
ambiguity and uncertainty.
5. System analyst must also be creative and imaginative in producing new solutions to
meet user requirements
SYSTEM DESIGN
The various steps involved in the system design life cycle are as follows: -
The steps involve about outlining the problem and understanding what are the
present methods of solving the problems, which are designing the system. It includes
preliminary survey/initial investigation as well.
Feasibility study: -
The feasibility study is a formal proposal for a new system. Before the project
is to begin, the project is studied to determine what exactly the user wants depending
upon the result of initial investigation. The survey is expanded to more detailed
study.
System analysis: -
The system design is most creative and challenging phase of the system
design life cycle. Analysis phase is used to design the logical model of the system and
system design the physical model of the system:
Output: -
Output design means that what should be the format presentation of the result.
First of all for designing of various forms to be present which is the front end of our
software.
Input: -
In input design stage, which is the part of the system design stage the system
analyst has to decide what inputs
are required for the system and prepare input format to give input to the system
according to the requirement. Considering the input to the front end from the user we use
the user-friendly visual basic software so that the user can easily enter the data. In case
operator gate confuse then the by moving the cursor pointer on the corresponding field
data user can get one tool tip box as example.
User
Problem
Requirement
Definition
Feasibility
study
System Verify
analysis
System model
Broad Verify
design System
Design
Validation
Working system
Validation
3.2 DATA FLOW DIAGRAM:
The project dictionary contains an entry for each DFD developed during
analysis. Thus there is a context diagram. A top level DFD and detailed diagrams for all
top level functions and their components. Each DFD has a unique number and can be
reference by that number.
DFD are nothing but more than network of a related system functions
(processing of data) that indicate from where information (data) is received (inputs) and
to where it is send (outputs). It is also called as bubble charges.
DFD’s are more detailed than content diagram. DFD’s are used to
despite specifics data flows (movement of inform) from both the physical view point
(How it is done) and the logical view point (what is done).
1-processes
2-data stores
3-data flows
4-external entities
TOU_AGENCY
ADMIN
LOGIN
TOU_BUS
TOU_PACK
LOGIN TOU_BOOK
AGENCY
CANCEL TICKET
TOU_FEEDBACK
ENTER REVIEW
USER
aname
oname ai
d
Tou_pack
city
mobile pid
View
TOU_AGENCY tourpack
pname
email
ptotday
pwd
pavai
addr
pplaces
BOOK pprice
pdate
pdepart
porgnam
TOU_BOOK
porgno
Book_sea
ts
BID
PID
PNA
ME
CNA
ME
CGE
NDE
R
CMO
BILE
AMN
T
BOO
KED
ON
AGEN
CY
SEAT
NO
3.3 DESIGN SPECIFICATIONS &
REQUIREMENT
Hardware Requirement
RAM : 1 GB or More
Software Requirement
Front End : Visual Basic 6.0
Software Required : Visual Basic 6.0 IDE
Back End : Oracle 10g
Operation System : Windows 7
IMPLEMENTATION
Table Design:
Tou_Agency
aid Number, primary key
Oname Varchar2(50)
Aname Varchar2 (50)
City Varchar2 (50)
Mobile Number
Email Varchar2 (100)
Pwd Varchar2 (200)
Addr Varchar2 (200)
Tou_bus
Bid Number, Primary key
Bno Varchar2(20)
Bmodel Varchar2(30)
Bcap Number
Bpurch Varchar2(30)
Bstatus Varchar2(10)
Bphoto Varchar2(200)
Tou_city
cid Number, Primary key
Cname Varchar2(30)
Tou_feedback
Fid Number, Primary key
Cname Varchar2(50)
Cmob Number
Feedback Varchar2(500)
Star Number
Tou_pack
Pid Number, Primary key
Pname Varchar2(100)
Ptotday Varchar2(100)
Pavai Number
Pplaces Varchar2(300)
Pprice Number
Pdate Varchar2 (50)
Pdepart Varchar2 (50)
Porgnam Varchar2 (50)
Porgno Number
Book_seats Number
Tou_book
Bid Number, Primary key
Pid Number
Pname Varchar2(100)
Cname Varchar2(50)
Cgender Varchar2(10)
Cmobile Number
Amnt Number
Bookedon Varchar2(30)
Agency Varchar2(50)
Seatno Number
CODING:
ADMIN HOME
ADMIN LOGIN
Private Sub Command1_Click()
Dim rcnt As Integer
Dim un, pw As String
un = Text1.Text
pw = Text2.Text
connectdb
rec.CursorLocation = adUseClient
rec.Open "select * from tou_admin where uname='" & un & "' and pwd='" &
pw & "'", con, adOpenDynamic, adLockOptimistic
rcnt = rec.RecordCount
If rcnt = 1 Then
Me.Hide
Form2.Hide
adminhome.Show
Else
Label4.Caption = "Login info is not correct"
clr
End If
rec.Close
End Sub
Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
End Sub
Sub clr()
Text1.Text = ""
Text2.Text = ""
End Sub
Private Sub Form_Unload(Cancel As Integer)
Set rec = Nothing
Unload Me
End Sub
Private Sub Image2_Click()
End
End Sub
AGENCY HOME
AGENCY LOGIN
BOOK TICKET
rec.Open "update " & tabnam & " set seat=1 where sno='" & bseat & "'", con,
adOpenDynamic, adLockOptimistic
TICKET CANCLE
rec.Open "update tou_pack set book_seats=book_seats-1 where pid='" & pid &
"'", con, adOpenDynamic, adLockOptimistic
rec.Open "update " & tabnam & " set seat=0 where sno='" & seatno & "'", con,
adOpenDynamic, adLockOptimistic
rec.Open "delete from tou_book where bid='" & Text1.Text & "'", con,
adOpenDynamic, adLockOptimistic
MsgBox "Ticket Calcelled successfully", vbOKOnly + vbInformation, "Ticket
Cancelled"
Unload Me
Else
MsgBox "Ticket not cancelled", vbOKOnly + vbInformation, "Ticket
Cancelled"
End If
End Sub
Private Sub Form_Load()
connectdb
rec.CursorLocation = adUseClient
rec.Open "select * from tou_book where agency='" & MS.agnam & "'", con,
adOpenDynamic, adLockOptimistic Set Text1.DataSource = rec
Text1.DataField = "bid"
Set Text2.DataSource = rec
Text2.DataField = "pid"
USER HOME
If rec.State = 1 Then
MsgBox "Adding problem in FeedBack. Try again later", vbOKOnly + vbCritical,
"Error"
clr
Else
MsgBox "FeedBack Entered Successfully. Thank you!!!!!", vbOKOnly
+ vbInformation, "Thank you" clr
Unload Me
End If
End Sub
Private Sub Command2_Click()
clr
End Sub
Private Sub Form_Load()
With Frame1
Frame1.Left = (Screen.Width - .Width) / 2
End With
End Sub
Sub clr()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Option1.Value = False
Option2.Value = False
Option3.Value = False
Option4.Value = False
Option5.Value = False
End Sub
VIEW TOUR
With DataGrid1
.Columns(0).Width = 700
.Columns(1).Width = 400
.Columns(2).Width = 2000
.Columns(3).Width = 1400
.Columns(4).Width = 800
.Columns(5).Width = 1300
.Columns(6).Width = 800
.Columns(7).Width = 2000
.Columns(8).Width = 2000
End With
End Sub
Private Sub Form_Unload(Cancel As Integer)
Set rec = Nothing
Unload Me
End Sub
HOME FORM
CONNECTIVITY
The Tourism management system handles the daily operations at Tour organizer
Office. It uses VB 6.0 as a front end & MS-Access as a back end.
This system is to supports admin to add new agencies, add new buses as well
adding new tour packages. Admin module has a control to access and edit, delete all
information.
With the help of this software the agency can book ticket for his customer from
various branches. As well can maintain his own customers of particular branch. Agencies
have option to cancel the tour ticket of his customer.
Agency can see other agency details, bus details, tour pack details such
information. But he cannot modify or delete any information from this application.
In tour plan, tour pack name, total days and places, individual ticket price, tour
date, organizer name and contact number and total availability seats such information are
available.
Customers are considering as User in this project. User can enter their review and
rate the agency services in system. It can view by Admin of this Application.
IN OUR PROJECT:
1. HOME FORM:
This form is used for accessing the admin, agency accounts individually by using the
mouse interface. This will allow the admin, agency to work with ‘Tourism management
system’. User can enter their feedback and rate the service.
After entering valid information admin can login into his account and can add
new agency, new buses, new-tour pack. And can view customer details and customer
reviews.
Admin can add new bus details as well can edit and delete details. In this form Bus
registration number, bus capacity, bus model, purchased date, condition of bus and Bus
picture information are given.
Admin can add new tour pack details. Admin will entered all necessary information
about tour such as tour date, plan, organizer name, contact number, price and availability
of seats.
Fig 10 View tour pack Details form
7. CUSTOMER DETAILS:
In this form Admin can see all customer details whoever booked ticket for various tour
packages with different agencies. And he can see the feedback and review of customers.
FEASIBILITY STUDY
Introduction:
As per users’ requirement our whole program is designed. We can add an additional
constraint to our project. We can implement this project as a Network application (Online
Application or Web). So that customers can book tickets from anywhere and Admin, agency
can maintain all information very easy and effective with help of Centralized Data access.
Conclusion
Compared to the present time consuming and uneconomical system, the proposed Online
Tourism Management System Project reduces human resource required – labor (agents),
wastage of time and proves to be very economical in the long run. This project can be
further enhanced to provide better flexibility and performance with certain modifications
whenever necessary.
It decreases the cost and time of maintaining a book. It is very easy to use and It is very
less time consuming. It is very easy to debug also.
BIBLOGRAPHY
This section gives you the name of the books required for the development of the project.