Context: Tourism Management System
Context: Tourism Management System
Sl.
No. CONTEXT Pg. No.
1. ABSTRACT 01
2. INTRODUCTION 02-06
3. SYSTEM ANALYSIS 07-08
4. SYSTEM DESIGN 09-12
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
SCOPE:
RESOURCES REQUIRED: -
INTRODUCTION
INTRODUCTION OF PROJECT
OBJECTIVE
Programming Maintenance
Project
Chapter 2
SYSTEM
ANALYSIS
10 | T O U R I S M M A N A G E M E N T S Y S T E M
So system analysis is necessary to design perfect and
accurate system, which satisfies the user requirement.
11 | T O U R I S M M A N A G E M E N T S Y S T E M
Chapter 3
SYSTEM DESIGN
➢ Feasibility study: -
12 | T O U R I S M M A N A G E M E N T S Y S T E M
(Evaluation of existing system and procedures
analysis of alternative candidate systems cost estimation)
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: -
➢ System design: -
➢ Output: -
➢ Input: -
User
Problem Requirement
Definition
Feasibility
study
System
analysis Verify
System model
Broad
Verify
design
System
Design
Validation
15 | T O U R I S M M A N A G E M E N T S Y S T E M
Working system
Validation
16 | T O U R I S M M A N A G E M E N T S Y S T E M
C
1-processes
2-data
stores 3-
data flows
4-external entities
17 | T O U R I S M M A N A G E M E N T S Y S T E M
18 | T O U R I S M M A N A G E M E N T S Y S T E M
ADMIN
TOU_AGENCY
LOGIN
TOU_BUS
TOU_PACK
LOGIN TOU_BOOK
USER
CANCEL BOOKING
TOU_FEEDBACK
ENTER REVIEW
USER
19 | T O U R I S M M A N A G E M E N T S Y S T E M
aname
oname aid
city
Tou_pack
mobile pid
TOU_USER View
tourpack ipdname
email
ptotday
pwd
pavai
addr
pplaces
pprice
BOOK
pdate
pdepart
porgnam
porgno
TOU_BOOK
Book_seats
CGENDER
CNAME
CMOBILE
PNAME
AGENCY
BOOKED
SEATNO
AMNT
BID
PID
ON
14 | T O U R I S M M A N A G E M E N T S Y S T E M
3.4 DESIGN SPECIFICATIONS &
REQUIREMENT
Hardware Requirement
Software Requirement
Front End : Visual Basic 6.0
Software Required : Visual Basic 6.0 IDE
Back End : Oracle 10g
Operation System : Windows 7
15 | T O U R I S M M A N A G E M E N T S Y S T E M
Chapter 4
IMPLEMENTATION
Table Design:
Visitor data:-
Id Int
Visitor_name Varchar(30)
Email Varchar(30)
Phone_no Varchar(14)
Adress Varchar(30)
Tourist_Place:-
Place_id int
Place_name Varcahr(20)
Description Text
Location Varcahr(20) Transportation:-
Vehicle_id Int
Vehicle_type Text
Total_price int
Package:-
Package_id Int
Package_name Varchar(30)
Package_duretion Varchar(20)
Total_price` int
16 | T O U R I S M M A N A G E M E N T S Y S T E M
Booking:-
Visitor_id Int
Package_id Int
Booking_date Date
Total_amount int
Booking_hotel:-
Booking_hotel_id Int
Booking_id Int
Hotel_name Varchar(30)
Room_type Varchar(30)
17 | T O U R I S M M A N A G E M E N T S Y S T E M
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()
End Sub
19 | T O U R I S M M A N A G E M E N T S Y S T E M
Text1.Text = ""
Text2.Text = ""
End Sub
20 | T O U R I S M M A N A G E M E N T S Y S T E M
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
24 | T O U R I S M M A N A G E M E N T S Y S T E M
clr
End If
End Sub
BOOK TICKET
If Option1.Value = True
Then cgen = "Male"
Else
cgen = "Female"
End If
tabnam = "pp" + pid
tabnam = Replace(tabnam, " ", "")
25 | T O U R I S M M A N A G E M E N T S Y S T E M
rec.Open "insert into
tou_book(pid,pname,cname,cgender,cmobile,amnt,bookedon,agency,seatno)
26 | T O U R I S M M A N A G E M E N T S Y S T E M
values('" & pid & "','" & pname & "','" & cname & "','" & cgen & "','" &
cmob & "','" & camnt & "','" & bookdon & "','" & MS.agnam & "','" & bseat
& "')", con, adOpenDynamic, adLockOptimistic
If rec.State = 1 Then
MsgBox "Not Done", vbYesNo + vbCritical
Else
rec.Open "update " & tabnam & " set seat=1 where sno='" & bseat
& "'", con, adOpenDynamic, adLockOptimistic
28 | T O U R I S M M A N A G E M E N T S Y S T E M
Loop
End With
End Sub
Private Sub Combo1_Click()
On Error GoTo Procerror
Dim tpack, tabnam As
String Dim reccount, i As
Integer tpack =
Combo1.Text 'connectdb
'rec.Open "select bno from tou_bus where bno='" & rno & "'", con,
adOpenDynamic, adLockOptimistic
'rcnt = rec.RecordCount
tabnam = "pp" + tpack
rec.Open "select * from tou_pack where pid='" & tpack & "'",
con, adOpenDynamic, adLockOptimistic
reccount = rec.RecordCount
Text1.Text = rec.Fields("pavai")
Text2.Text =
rec.Fields("book_seats") Text3.Text =
Text1.Text - Text2.Text Text4.Text =
rec.Fields("pprice") Text8.Text =
rec.Fields("pname") rec.Close
dynlabel (tpack)
Combo1.Enabled = False
Procexit:
Exit Sub
Procerror:
MsgBox "Reset seat view or Close window and Try", vbOKOnly
+ vbCritical
Resume Procexit
End Sub
Sub dynlabel(ByVal pid As
Integer) Dim tabnam As String
Dim rcnt, j As Integer
31 | T O U R I S M M A N A G E M E N T S Y S T E M
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text8.Text = ""
Text4.Text = ""
Combo2.Clear
Combo1.Enabled =
True Frame3.Visible =
False
Procexit:
Exit Sub
procreset:
MsgBox "Already reset Done", vbOKOnly +
vbInformation Resume Procexit
End Sub
Sub clr()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text9.Text = ""
Text7.Text = ""
Text8.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Frame3.Visible =
False
End Sub
TICKET CANCLE
33 | T O U R I S M M A N A G E M E N T S Y S T E M
If i = 6 Then
tabnam = "pp" + pid
tabnam = Replace(tabnam, " ", "")
35 | T O U R I S M M A N A G E M E N T S Y S T E M
End Sub
Private Sub Form_Unload(Cancel As
Integer) Set rec = Nothing
Unload Me
End Sub
USER HOME
If Option1.Value = True
Then star = 1
ElseIf Option2.Value = True
Then star = 2
ElseIf Option3.Value = True
Then star = 3
ElseIf Option4.Value = True
Then star = 4
ElseIf Option5.Value = True
Then star = 5
Else
star = 0
End If
connectdb
rec.Open "insert into tou_feedback(cname,cmob,feedback,star)values('"
& cname & "','" & cmob & "','" & feedback & "','" & star & "')", con,
adOpenDynamic, adLockOptimistic
If rec.State = 1 Then
MsgBox "Adding problem in FeedBack. Try again later", vbOKOnly +
vbCritical, "Error"
clr
Else
36 | T O U R I S M M A N A G E M E N T S Y S T E M
37 | T O U R I S M M A N A G E M E N T S Y S T E M
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
39 | T O U R I S M M A N A G E M E N T S Y S T E M
Private Sub Command2_Click()
Command1.Enabled = True
Command3.Enabled = True
Command4.Enabled = True
rec.MovePrevious
If rec.AbsolutePosition = 1
Then Command2.Enabled =
False
End If
End Sub
Private Sub Command3_Click()
Command1.Enabled = True
Command2.Enabled = True
Command4.Enabled = True
rec.MoveNext
If rec.RecordCount = rec.AbsolutePosition
Then Command3.Enabled = False
End If
End Sub
Private Sub Command4_Click()
rec.MoveLast
Command1.Enabled = True
Command2.Enabled = True
Command3.Enabled = False
Command4.Enabled = False
End Sub
Private Sub Form_Load()
connectdb
rec.CursorLocation = adUseClient
rec.Open "select * from tou_pack order by pid", con, adOpenDynamic,
adLockOptimistic
Set DataGrid1.DataSource = rec
End Sub
Private Sub Form_Unload(Cancel As
Integer) Set rec = Nothing
Unload Me
End Sub
40 | T O U R I S M M A N A G E M E N T S Y S T E M
41 | T O U R I S M M A N A G E M E N T S Y S T E M
COUSTMER
43 | T O U R I S M M A N A G E M E N T S Y S T E M
Text9.DataField = "seatno"
Dim collct As Variant
collct = "Book Id : " & Text1.Text & vbCrLf & "Customer name : "
& Text2.Te
Text3.Text = collct
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
44 | T O U R I S M M A N A G E M E N T S Y S T E M
Private Sub Image4_Click()
userhome.Show
End Sub
Private Sub Image5_Click()
End
End Sub
Private Sub Timer1_Timer()
StatusBar1.Panels(3) = Time$
End Sub
CONNECTIVITY
45 | T O U R I S M M A N A G E M E N T S Y S T E M
46 | T O U R I S M M A N A G E M E N T S Y S T E M
47 | T O U R I S M M A N A G E M E N T S Y S T E M
IN OUR PROJECT:
1. HOME
FORM:
This form is used for accessing the admin, user accounts
individually by using the mouse interface. This will allow the
admin, user to work with ‘Tourism management system’.
User can enter their feedback and rate the service.
48 | T O U R I S M M A N A G E M E N T S Y S T E M
2. ADMIN HOME:
After entering valid information admin can login into his
account and can add new user, new buses, new-tour pack. And
can view customer details and customer reviews.
49 | T O U R I S M M A N A G E M E N T S Y S T E M
Fig 5 Admin Home window
3. ADD USER AND VIEW:
Admin can add new user details as well can edit and
delete details. Admin will provide login information to
agency at the time of account creation.
50 | T O U R I S M M A N A G E M E N T S Y S T E M
51 | T O U R I S M M A N A G E M E N T S Y S T E M
Fig 9 View Bus Details form
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.
52 | T O U R I S M M A N A G E M E N T S Y S T E M
Fig 10 View tour pack Details form
6. CUSTOMER DETAILS:
53 | T O U R I S M M A N A G E M E N T S Y S T E M
54 | T O U R I S M M A N A G E M E N T S Y S T E M
Fig 16 User Feedback and rating form
Chapter 5
FEASIBILITY
STUDY
FEASIBILITY STUDY
Introduction:
55 | T O U R I S M M A N A G E M E N T S Y S T E M
56 | T O U R I S M M A N A G E M E N T S Y S T E M
Chapter 6
FUTURE DEVELOPMENT
6.1. FUTURE DEVELOPMENT OF PROJECT
57 | T O U R I S M M A N A G E M E N T S Y S T E M
Chapter 7
Conclusion
58 | T O U R I S M M A N A G E M E N T S Y S T E M
59 | T O U R I S M M A N A G E M E N T S Y S T E M
60 | T O U R I S M M A N A G E M E N T S Y S T E M