Breaking the Kubernetes Kill Chain: Host Path Mount
Ritika Khandelwal,BCA-3 Year
1. _______________________________
Online Cab Booking Portal
______________________________________
Presented By
Ritika Khandelwal
Bachelors of Computer Application – Third Year
Dezyne E’cole College, Ajmer
2. Project report on
Programming On Visual Basic Language
Submitted To
Dezyne E’cole College
Towards
The Partial Fulfilment
Of 2018 Year, Bachelor of Computer Application
By
Ritika Khandelwal
Dezyne E’cole College
106/10, Civil Line, Ajmer
www.dezyneecole.com
3. Acknowledgment
I Am Ritika Khandelwal, Student of Bachelor Of Computer Application,
Dezyne E’cole College.
I Would Like To Express My Gratitude to Each And Every
Person Who Has Contributed in Encouraging Me And Helping
Me to Coordinate My Project.
I Also Thank Dezyne E’cole College Who Provided Insight And Expertise
That Greatly Assisted the Project.
A Special Thanks To My Teachers, Parents and Colleagues Who
Have Supported Me at Every Step. Not To Forget, the Almighty
Who Blessed Me With Good Health Because of Which I Worked
More Efficiently And Better.
5. End Sub
Private Sub Label2_Click()
Form1.Hide
fir.Show
End Sub
Private Sub Label3_Click()
Form1.Hide
Form23.Show
End Sub
Private Sub Label4_Click()
Form1.Hide
Form7.Show
End Sub
Private Sub Label5_Click()
Form1.Hide
Form13.Show
End Sub
Private Sub Label6_Click()
Form26.Show
End Sub
6. BOOK RIDES:
Source Code:
Dim a As Variant
Dim b As Variant
Private Sub Form_Activate()
a = Label11.Caption
b = a
If Label5.Caption = "Reliance Fresh" Or Label6.Caption = "Reliance
Fresh" Then Shape18.FillColor = vbGreen
End If
If Label5.Caption = "Pushkar" Or Label6.Caption =
"Pushkar" Then Shape17.FillColor = vbGreen
7. End If
If Label5.Caption = "Shantipura" Or Label6.Caption =
"Shantipura" Then Shape3.FillColor = vbGreen
End If
If Label5.Caption = "Mehndi Khola Mata Vaishno Temple" Or Label6.Caption =
"Mehndi Khola Mata Vaishno Temple" Then
Shape2.FillColor =
vbGreen End If
If Label5.Caption = "Baba Giri Nath" Or Label6.Caption = "Baba Giri
Nath" Then Shape1.FillColor = vbGreen
End If
If Label5.Caption = "Rajsthan Public Service Commision" Or Label6.Caption =
"Rajsthan Public Service Commision" Then
Shape38.FillColor =
vbGreen End If
If Label5.Caption = "Maya Mandir Cineplex" Or Label6.Caption = "Maya Mandir
Cineplex" Then Shape20.FillColor = vbGreen
End If
If Label5.Caption = "Gulmohar Colony" Or Label6.Caption = "Gulmohar
Colony" Then Shape34.FillColor = vbGreen
End If
If Label5.Caption = "LIC Colony" Or Label6.Caption = "LIC
Colony" Then Shape4.FillColor = vbGreen
End If
If Label5.Caption = "Loha Khan Colony" Or Label6.Caption = "Loha Khan
Colony" Then Shape37.FillColor = vbGreen
End If
If Label5.Caption = "Hari Nagar" Or Label6.Caption = "Hari Nagar" Then
8. Shape35.FillColor =
vbGreen End If
If Label5.Caption = "Vashali Nagar" Or Label6.Caption = "Vashali
Nagar" Then Shape6.FillColor = vbGreen
End If
If Label5.Caption = "Zee Mall" Or Label6.Caption = "Zee
Mall" Then Shape19.FillColor = vbGreen
End If
If Label5.Caption = "Kailashpuri" Or Label6.Caption =
"Kailashpuri" Then Shape48.FillColor = vbGreen
End If
If Label5.Caption = "Ganeshgarh" Or Label6.Caption =
"Ganeshgarh" Then Shape22.FillColor = vbGreen
End If
If Label5.Caption = "Shastri Nagar" Or Label6.Caption = "Shastri
Nagar" Then Shape29.FillColor = vbGreen
End If
If Label5.Caption = "Serveshwar" Or Label6.Caption =
"Serveshwar" Then Shape36.FillColor = vbGreen
End If
If Label5.Caption = "Regional Insitute of Education" Or Label6.Caption = "Regional
Insitute of Education" Then
Shape16.FillColor =
vbGreen End If
If Label5.Caption = "Directorate of Ayurved" Or Label6.Caption = "Directorate of
Ayurved" Then Shape41.FillColor = vbGreen
End If
9. If Label5.Caption = "Maheshwari Hostel" Or Label6.Caption = "Maheshwari
Hostel" Then Shape21.FillColor = vbGreen
End If
If Label5.Caption = "Police Line" Or Label6.Caption = "Police
Line" Then Shape39.FillColor = vbGreen
End If
If Label5.Caption = "Vishal Mega Mart" Or Label6.Caption = "Vishal Mega
Mart" Then Shape26.FillColor = vbGreen
End If
If Label5.Caption = "Tak Public School" Or Label6.Caption = "Tak Public
School" Then Shape45.FillColor = vbGreen
End If
If Label5.Caption = "Vishram Sthall" Or Label6.Caption = "Vishram
Sthall" Then Shape7.FillColor = vbGreen
End If
If Label5.Caption = "Jawahar Rang Manch" Or Label6.Caption = "Jawahar Rang
Manch" Then Shape40.FillColor = vbGreen
End If
If Label5.Caption = "Bank Colony" Or Label6.Caption = "Bank
Colony" Then Shape47.FillColor = vbGreen
End If
If Label5.Caption = "Central Jail" Or Label6.Caption = "Shastri
Nagar" Then Shape5.FillColor = vbGreen
End If
If Label5.Caption = "Taragarh Fort" Or Label6.Caption = "Taragarh
Fort" Then Shape8.FillColor = vbGreen
End If
10. If Label5.Caption = "Gujar Mohalla" Or Label6.Caption = "Gujar
Mohalla" Then Shape9.FillColor = vbGreen
End If
If Label5.Caption = "St. Paul's School" Or Label6.Caption = "St. Paul's
School" Then Shape25.FillColor = vbGreen
End If
If Label5.Caption = "Basket Ball Court" Or Label6.Caption = "Basket Ball
Court" Then Shape61.FillColor = vbGreen
End If
If Label5.Caption = "Raja Ki Kothi" Or Label6.Caption = "Raja Ki
Kothi" Then Shape62.FillColor = vbGreen
End If
If Label5.Caption = "Mayho College" Or Label6.Caption = "Mayho
College" Then Shape65.FillColor = vbGreen
End If
If Label5.Caption = "Railway Loco Ground" Or Label6.Caption = "Railway Loco
Ground" Then Shape57.FillColor = vbGreen
End If
If Label5.Caption = "GCA Ground" Or Label6.Caption = "GCA
Ground" Then Shape12.FillColor = vbGreen
End If
If Label5.Caption = "Dargah Peer Garib" Or Label6.Caption = "Dargah Peer
Garib" Then Shape11.FillColor = vbGreen
End If
If Label5.Caption = "Pahar Ganj" Or Label6.Caption = "Pahar
Ganj" Then Shape10.FillColor = vbGreen
End If
11. If Label5.Caption = "Man Singh Palace" Or Label6.Caption = "Man Singh
Palace" Then Shape13.FillColor = vbGreen
End If
If Label5.Caption = "Mayoor School" Or Label6.Caption = "Mayoor
School" Then Shape28.FillColor = vbGreen
End If
If Label5.Caption = "Bikaner Pavalion" Or Label6.Caption = "Bikaner
Pavalion" Then Shape64.FillColor = vbGreen
End If
If Label5.Caption = "Gulab Bari" Or Label6.Caption = "Gulab
Bari" Then Shape63.FillColor = vbGreen
End If
If Label5.Caption = "Pill Kothi" Or Label6.Caption = "Pill
Kothi" Then Shape56.FillColor = vbGreen
End If
If Label5.Caption = "Dargah Shayed Nizamuddun" Or Label6.Caption =
"Dargah Shayed Nizamuddun" Then
Shape52.FillColor =
vbGreen End If
If Label5.Caption = "Adhai Din Ka Jhopra" Or Label6.Caption = "Adhai Din Ka
Jhopra" Then Shape14.FillColor = vbGreen
End If
If Label5.Caption = "Ajmer Sharif" Or Label6.Caption = "Ajmer
Sharif" Then Shape42.FillColor = vbGreen
End If
If Label5.Caption = "Parao" Or Label6.Caption =
"Parao" Then Shape27.FillColor = vbGreen
12. End If
If Label5.Caption = "Monia Islamia School" Or Label6.Caption = "Monia Islamia
School" Then Shape58.FillColor = vbGreen
End If
If Label5.Caption = "Vinay Nagar" Or Label6.Caption = "Vinay
Nagar" Then Shape59.FillColor = vbGreen
End If
If Label5.Caption = "Kendriya Vidyalaya" Or Label6.Caption = "Kendriya
Vidyalaya" Then Shape60.FillColor = vbGreen
End If
If Label5.Caption = "Longia Mohalla" Or Label6.Caption = "Longia
Mohalla" Then Shape15.FillColor = vbGreen
End If
If Label5.Caption = "Oswal Sr.Sec School" Or Label6.Caption = "Oswal Sr.Sec
School" Then Shape50.FillColor = vbGreen
End If
If Label5.Caption = "Lodha Dharamshala" Or Label6.Caption = "Lodha
Dharamshala" Then Shape51.FillColor = vbGreen
End If
If Label5.Caption = "Ajmer Junction" Or Label6.Caption = "Ajmer
Junction" Then Shape66.FillColor = vbGreen
End If
If Label5.Caption = "Railway Colony" Or Label6.Caption = "Railway
Colony" Then Shape67.FillColor = vbGreen
End If
If Label5.Caption = "Todhara School" Or Label6.Caption = "Todhara
School" Then Shape54.FillColor = vbGreen
13. End If
If Label5.Caption = "Kundan Nagar" Or Label6.Caption = "Kundan
Nagar" Then Shape55.FillColor = vbGreen
End If
If Label5.Caption = "GLO Ground" Or Label6.Caption = "GLO
Ground" Then Shape53.FillColor = vbGreen
End If
If Label5.Caption = "Soni Ji Ki Nasiya" Or Label6.Caption = "Soni Ji Ki
Nasiya" Then Shape24.FillColor = vbGreen
End If
If Label5.Caption = "Mahaveer Colony" Or Label6.Caption = "Mahaveer
Colony" Then Shape23.FillColor = vbGreen
End If
If Label5.Caption = "Rishi Udhyan Swami Dayanand" Or Label6.Caption = "Rishi
Udhyan Swami Dayanand" Then
Shape30.FillColor =
vbGreen End If
If Label5.Caption = "Patel Stadium" Or Label6.Caption = "Patel
Stadium" Then Shape31.FillColor = vbGreen
End If
If Label5.Caption = "Hotel Embassy" Or Label6.Caption = "Hotel
Embassy" Then Shape32.FillColor = vbGreen
End If
If Label5.Caption = "Azad Park" Or Label6.Caption = "Azad
Park" Then Shape68.FillColor = vbGreen
End If
If Label5.Caption = "Bairangarh Circle" Or Label6.Caption = "Bairangarh Circle" Then
14. Shape46.FillColor =
vbGreen End If
If Label5.Caption = "Hotel Ambassacor" Or Label6.Caption = "Hotel
Ambassacor" Then Shape43.FillColor = vbGreen
End If
If Label5.Caption = "Rajsthan Board Office" Or Label6.Caption = "Rajsthan Board
Office" Then Shape44.FillColor = vbGreen
End If
If Label5.Caption = "Income Tax Department" Or Label6.Caption = "Income Tax
Department" Then
Shape33.FillColor =
vbGreen End If
If Label5.Caption = "Military School" Or Label6.Caption = "Military
School" Then Shape49.FillColor = vbGreen
End If
End Sub
Private Sub Form_Load()
Label11.Caption = b
Combo1.Text = "Cash"
Combo1.AddItem "Cash"
Combo1.AddItem "Upi"
Combo1.AddItem "Credit Card"
Combo1.AddItem "Debit Card"
Combo1.AddItem "Internet Banking"
Image1.Picture = LoadPicture("e:cabnew foldershadow1.jpg")
15. Image1.Height = Screen.Height
Image1.Width = Screen.Width * 45 / 100
Image1.Left = Screen.Width * 55 / 100
Image1.Top = 0
mapp.Height =
Screen.Height mapp.Width =
Screen.Width mapp.Left = 0
mapp.Top = 0
Frame1.Top = Image1.Width * 2 / 100
Frame1.Left = Image1.Width * 125 / 100
Label5.Caption = sec.Label2.Caption
Label6.Caption = sec.Label6.Caption
Frame2.BackColor = RGB(180, 215, 0)
End Sub
Private Sub Label9_Click()
a = MsgBox("Are You Sure About Your Journey",
vbYesNo) If a = 6 Then
Call connect
boo.Close
boo.Open "select * from
book" boo.AddNew
boo.Fields(0) = Label5.Caption
boo.Fields(1) = Label6.Caption
boo.Fields(2) = Val(Label7.Caption)
boo.Fields(3) = Date
boo.Fields(4) = Time
16. boo.Fields(5) =
Label11.Caption boo.Update
If Combo1.Text = "Cash" Then
mapp.Hide
Form1.Show
Unload Me
ElseIf Combo1.Text = "Upi"
Then mapp.Hide
Form22.Show
Unload Me
ElseIf Combo1.Text = "Credit Card" Then
mapp.Hide
Form3.Show
Unload Me
ElseIf Combo1.Text = "Debit Card" Then
mapp.Hide
Form3.Show
Unload Me
ElseIf Combo1.Text = "Internet Banking" Then
mapp.Hide
Form21.Show
Unload Me
End If
Else
Form1.Show
Unload Me
End If
17. End Sub
AVAILABLE RIDES:
Source Code:
Dim a As Integer
Dim b As Integer
Private Sub
Command1_Click() sec.Hide
mapp.Show
Unload Me
End Sub
18. Private Sub
Command2_Click() sec.Hide
mapp.Show
Unload Me
End Sub
Private Sub Form_Activate()
If fir.Image3.Visible = True Then
Frame4.Visible = False
Frame5.Visible = False
ElseIf fir.Image2.Visible = True Then
Frame4.Visible = True
Frame5.Visible = True
End If
End Sub
Private Sub
Form_Load() a = 0
b = 0
Frame8.Top = Screen.Height * 25 / 100
Frame8.Left = Screen.Width * 30 / 100
Frame10.Top = Screen.Height * 25 / 100
Frame10.Left = Screen.Width * 30 / 100
Frame1.Top = Screen.Height * 15 / 100
Frame1.Left = Screen.Width * 30 / 100
Image1.Picture = LoadPicture("e:cabnew foldershadow1.jpg")
20. mapp.Show
mapp.Label1.Caption = Label12.Caption
mapp.Label7.Caption = Label21.Caption
mapp.Label7.Caption = Label20.Caption
mapp.Label5.Caption = Label2.Caption
mapp.Label6.Caption = Label6.Caption
Unload Me
End Sub
Private Sub
Frame6_Click() 'sec.Hide
'mapp.Show
Frame1.Visible = False
Frame8.Visible = True
mapp.Label7.Caption = Label20.Caption
mapp.Label5.Caption = Label2.Caption
mapp.Label1.Caption = Label14.Caption
mapp.Label7.Caption = Label22.Caption
mapp.Label6.Caption = Label6.Caption
End Sub
Private Sub
Frame7_Click() 'sec.Hide
'mapp.Show
Frame1.Visible = False
Frame10.Visible = True
mapp.Label7.Caption = Label20.Caption
21. mapp.Label5.Caption = Label2.Caption
mapp.Label1.Caption = Label16.Caption
mapp.Label7.Caption = Label23.Caption
mapp.Label6.Caption = Label6.Caption
End Sub
Private Sub Image16_Click()
If b = 1 Then
Image13.Visible = False
Image14.Visible = True
Image15.Visible = False
ElseIf b = 2 Then
Image13.Visible = False
Image14.Visible = False
Image15.Visible = True
End If
b = b + 1
End Sub
Private Sub Image17_Click()
If b = 2 Then
Image13.Visible = False
Image14.Visible = True
Image15.Visible = False
ElseIf b = 1 Then
Image13.Visible = True
Image14.Visible = False
22. Image15.Visible = False
End If
b = b - 1
End Sub
Private Sub Image8_Click()
If a = 2 Then
Image10.Visible = False
Image11.Visible = True
Image12.Visible = False
ElseIf a = 1 Then
Image10.Visible = True
Image11.Visible = False
Image12.Visible = False
End If a
= a - 1
End Sub
Private Sub Image9_Click()
If a = 1 Then
Image10.Visible = False
Image11.Visible = True
Image12.Visible = False
ElseIf a = 2 Then
Image10.Visible = False
Image11.Visible = False
Image12.Visible = True
23. End If
a = a + 1
End Sub
Private Sub
Label20_Click() sec.Hide
mapp.Show
mapp.Label5.Caption = Label2.Caption
mapp.Label6.Caption = Label6.Caption
mapp.Label1.Caption = Label10.Caption
mapp.Label7.Caption = Label20.Caption
mapp.Label5.Caption = Label2.Caption
mapp.Label6.Caption = Label6.Caption
Unload Me
End Sub
Private Sub
Label21_Click() sec.Hide
mapp.Show
mapp.Label1.Caption = Label12.Caption
mapp.Label7.Caption = Label21.Caption
mapp.Label7.Caption = Label20.Caption
mapp.Label5.Caption = Label2.Caption
mapp.Label6.Caption = Label6.Caption
Unload Me
End Sub
24. Private Sub
Label22_Click() 'sec.Hide
'mapp.Show
Frame1.Visible = False
Frame8.Visible = True
mapp.Label7.Caption = Label20.Caption
mapp.Label5.Caption = Label2.Caption
mapp.Label1.Caption = Label14.Caption
mapp.Label7.Caption = Label22.Caption
mapp.Label6.Caption = Label6.Caption
End Sub
Private Sub
Label23_Click() 'sec.Hide
'mapp.Show
Frame1.Visible = False
Frame10.Visible = True
mapp.Label7.Caption = Label20.Caption
mapp.Label5.Caption = Label2.Caption
mapp.Label1.Caption = Label16.Caption
mapp.Label7.Caption = Label23.Caption
mapp.Label6.Caption = Label6.Caption
End Sub
Private Sub Label25_Click()
If b = 1 Then
Image13.Visible = False
25. Image14.Visible = True
Image15.Visible = False
ElseIf b = 2 Then
Image13.Visible = False
Image14.Visible = False
Image15.Visible = True
End If
b = b + 1
End Sub
Private Sub Label26_Click()
If b = 2 Then
Image13.Visible = False
Image14.Visible = True
Image15.Visible = False
ElseIf b = 1 Then
Image13.Visible = True
Image14.Visible = False
Image15.Visible = False
End If b
= b - 1
End Sub
26. PAYMENT MODES:
Source Code:
Dim a As Variant
Dim b As Variant
Private Sub Form_Activate()
a = Label11.Caption
b = a
If Label5.Caption = "Reliance Fresh" Or Label6.Caption = "Reliance
Fresh" Then Shape18.FillColor = vbGreen
End If
If Label5.Caption = "Pushkar" Or Label6.Caption =
"Pushkar" Then Shape17.FillColor = vbGreen
27. End If
If Label5.Caption = "Shantipura" Or Label6.Caption =
"Shantipura" Then Shape3.FillColor = vbGreen
End If
If Label5.Caption = "Mehndi Khola Mata Vaishno Temple" Or Label6.Caption =
"Mehndi Khola Mata Vaishno Temple" Then
Shape2.FillColor =
vbGreen End If
If Label5.Caption = "Baba Giri Nath" Or Label6.Caption = "Baba Giri
Nath" Then Shape1.FillColor = vbGreen
End If
If Label5.Caption = "Rajsthan Public Service Commision" Or Label6.Caption =
"Rajsthan Public Service Commision" Then
Shape38.FillColor =
vbGreen End If
If Label5.Caption = "Maya Mandir Cineplex" Or Label6.Caption = "Maya Mandir
Cineplex" Then Shape20.FillColor = vbGreen
End If
If Label5.Caption = "Gulmohar Colony" Or Label6.Caption = "Gulmohar
Colony" Then Shape34.FillColor = vbGreen
End If
If Label5.Caption = "LIC Colony" Or Label6.Caption = "LIC
Colony" Then Shape4.FillColor = vbGreen
End If
If Label5.Caption = "Loha Khan Colony" Or Label6.Caption = "Loha Khan
Colony" Then Shape37.FillColor = vbGreen
End If
If Label5.Caption = "Hari Nagar" Or Label6.Caption = "Hari Nagar" Then
28. Shape35.FillColor =
vbGreen End If
If Label5.Caption = "Vashali Nagar" Or Label6.Caption = "Vashali
Nagar" Then Shape6.FillColor = vbGreen
End If
If Label5.Caption = "Zee Mall" Or Label6.Caption = "Zee
Mall" Then Shape19.FillColor = vbGreen
End If
If Label5.Caption = "Kailashpuri" Or Label6.Caption =
"Kailashpuri" Then Shape48.FillColor = vbGreen
End If
If Label5.Caption = "Ganeshgarh" Or Label6.Caption =
"Ganeshgarh" Then Shape22.FillColor = vbGreen
End If
If Label5.Caption = "Shastri Nagar" Or Label6.Caption = "Shastri
Nagar" Then Shape29.FillColor = vbGreen
End If
If Label5.Caption = "Serveshwar" Or Label6.Caption =
"Serveshwar" Then Shape36.FillColor = vbGreen
End If
If Label5.Caption = "Regional Insitute of Education" Or Label6.Caption = "Regional
Insitute of Education" Then
Shape16.FillColor =
vbGreen End If
If Label5.Caption = "Directorate of Ayurved" Or Label6.Caption = "Directorate of
Ayurved" Then Shape41.FillColor = vbGreen
End If
29. If Label5.Caption = "Maheshwari Hostel" Or Label6.Caption = "Maheshwari
Hostel" Then Shape21.FillColor = vbGreen
End If
If Label5.Caption = "Police Line" Or Label6.Caption = "Police
Line" Then Shape39.FillColor = vbGreen
End If
If Label5.Caption = "Vishal Mega Mart" Or Label6.Caption = "Vishal Mega
Mart" Then Shape26.FillColor = vbGreen
End If
If Label5.Caption = "Tak Public School" Or Label6.Caption = "Tak Public
School" Then Shape45.FillColor = vbGreen
End If
If Label5.Caption = "Vishram Sthall" Or Label6.Caption = "Vishram
Sthall" Then Shape7.FillColor = vbGreen
End If
If Label5.Caption = "Jawahar Rang Manch" Or Label6.Caption = "Jawahar Rang
Manch" Then Shape40.FillColor = vbGreen
End If
If Label5.Caption = "Bank Colony" Or Label6.Caption = "Bank
Colony" Then Shape47.FillColor = vbGreen
End If
If Label5.Caption = "Central Jail" Or Label6.Caption = "Shastri
Nagar" Then Shape5.FillColor = vbGreen
End If
If Label5.Caption = "Taragarh Fort" Or Label6.Caption = "Taragarh
Fort" Then Shape8.FillColor = vbGreen
End If
30. If Label5.Caption = "Gujar Mohalla" Or Label6.Caption = "Gujar
Mohalla" Then Shape9.FillColor = vbGreen
End If
If Label5.Caption = "St. Paul's School" Or Label6.Caption = "St. Paul's
School" Then Shape25.FillColor = vbGreen
End If
If Label5.Caption = "Basket Ball Court" Or Label6.Caption = "Basket Ball
Court" Then Shape61.FillColor = vbGreen
End If
If Label5.Caption = "Raja Ki Kothi" Or Label6.Caption = "Raja Ki
Kothi" Then Shape62.FillColor = vbGreen
End If
If Label5.Caption = "Mayho College" Or Label6.Caption = "Mayho
College" Then Shape65.FillColor = vbGreen
End If
If Label5.Caption = "Railway Loco Ground" Or Label6.Caption = "Railway Loco
Ground" Then Shape57.FillColor = vbGreen
End If
If Label5.Caption = "GCA Ground" Or Label6.Caption = "GCA
Ground" Then Shape12.FillColor = vbGreen
End If
If Label5.Caption = "Dargah Peer Garib" Or Label6.Caption = "Dargah Peer
Garib" Then Shape11.FillColor = vbGreen
End If
If Label5.Caption = "Pahar Ganj" Or Label6.Caption = "Pahar
Ganj" Then Shape10.FillColor = vbGreen
End If
31. If Label5.Caption = "Man Singh Palace" Or Label6.Caption = "Man Singh
Palace" Then Shape13.FillColor = vbGreen
End If
If Label5.Caption = "Mayoor School" Or Label6.Caption = "Mayoor
School" Then Shape28.FillColor = vbGreen
End If
If Label5.Caption = "Bikaner Pavalion" Or Label6.Caption = "Bikaner
Pavalion" Then Shape64.FillColor = vbGreen
End If
If Label5.Caption = "Gulab Bari" Or Label6.Caption = "Gulab
Bari" Then Shape63.FillColor = vbGreen
End If
If Label5.Caption = "Pill Kothi" Or Label6.Caption = "Pill
Kothi" Then Shape56.FillColor = vbGreen
End If
If Label5.Caption = "Dargah Shayed Nizamuddun" Or Label6.Caption =
"Dargah Shayed Nizamuddun" Then
Shape52.FillColor =
vbGreen End If
If Label5.Caption = "Adhai Din Ka Jhopra" Or Label6.Caption = "Adhai Din Ka
Jhopra" Then Shape14.FillColor = vbGreen
End If
If Label5.Caption = "Ajmer Sharif" Or Label6.Caption = "Ajmer
Sharif" Then Shape42.FillColor = vbGreen
End If
If Label5.Caption = "Parao" Or Label6.Caption =
"Parao" Then Shape27.FillColor = vbGreen
32. End If
If Label5.Caption = "Monia Islamia School" Or Label6.Caption = "Monia Islamia
School" Then Shape58.FillColor = vbGreen
End If
If Label5.Caption = "Vinay Nagar" Or Label6.Caption = "Vinay
Nagar" Then Shape59.FillColor = vbGreen
End If
If Label5.Caption = "Kendriya Vidyalaya" Or Label6.Caption = "Kendriya
Vidyalaya" Then Shape60.FillColor = vbGreen
End If
If Label5.Caption = "Longia Mohalla" Or Label6.Caption = "Longia
Mohalla" Then Shape15.FillColor = vbGreen
End If
If Label5.Caption = "Oswal Sr.Sec School" Or Label6.Caption = "Oswal Sr.Sec
School" Then Shape50.FillColor = vbGreen
End If
If Label5.Caption = "Lodha Dharamshala" Or Label6.Caption = "Lodha
Dharamshala" Then Shape51.FillColor = vbGreen
End If
If Label5.Caption = "Ajmer Junction" Or Label6.Caption = "Ajmer
Junction" Then Shape66.FillColor = vbGreen
End If
If Label5.Caption = "Railway Colony" Or Label6.Caption = "Railway
Colony" Then Shape67.FillColor = vbGreen
End If
If Label5.Caption = "Todhara School" Or Label6.Caption = "Todhara
School" Then Shape54.FillColor = vbGreen
33. End If
If Label5.Caption = "Kundan Nagar" Or Label6.Caption = "Kundan
Nagar" Then Shape55.FillColor = vbGreen
End If
If Label5.Caption = "GLO Ground" Or Label6.Caption = "GLO
Ground" Then Shape53.FillColor = vbGreen
End If
If Label5.Caption = "Soni Ji Ki Nasiya" Or Label6.Caption = "Soni Ji Ki
Nasiya" Then Shape24.FillColor = vbGreen
End If
If Label5.Caption = "Mahaveer Colony" Or Label6.Caption = "Mahaveer
Colony" Then Shape23.FillColor = vbGreen
End If
If Label5.Caption = "Rishi Udhyan Swami Dayanand" Or Label6.Caption = "Rishi
Udhyan Swami Dayanand" Then
Shape30.FillColor =
vbGreen End If
If Label5.Caption = "Patel Stadium" Or Label6.Caption = "Patel
Stadium" Then Shape31.FillColor = vbGreen
End If
If Label5.Caption = "Hotel Embassy" Or Label6.Caption = "Hotel
Embassy" Then Shape32.FillColor = vbGreen
End If
If Label5.Caption = "Azad Park" Or Label6.Caption = "Azad
Park" Then Shape68.FillColor = vbGreen
End If
If Label5.Caption = "Bairangarh Circle" Or Label6.Caption = "Bairangarh Circle" Then
34. Shape46.FillColor =
vbGreen End If
If Label5.Caption = "Hotel Ambassacor" Or Label6.Caption = "Hotel
Ambassacor" Then Shape43.FillColor = vbGreen
End If
If Label5.Caption = "Rajsthan Board Office" Or Label6.Caption = "Rajsthan Board
Office" Then Shape44.FillColor = vbGreen
End If
If Label5.Caption = "Income Tax Department" Or Label6.Caption = "Income Tax
Department" Then
Shape33.FillColor =
vbGreen End If
If Label5.Caption = "Military School" Or Label6.Caption = "Military
School" Then Shape49.FillColor = vbGreen
End If
End Sub
Private Sub Form_Load()
Label11.Caption = b
Combo1.Text = "Cash"
Combo1.AddItem "Cash"
Combo1.AddItem "Upi"
Combo1.AddItem "Credit Card"
Combo1.AddItem "Debit Card"
Combo1.AddItem "Internet Banking"
Image1.Picture = LoadPicture("e:cabnew foldershadow1.jpg")
35. Image1.Height = Screen.Height
Image1.Width = Screen.Width * 45 / 100
Image1.Left = Screen.Width * 55 / 100
Image1.Top = 0
mapp.Height =
Screen.Height mapp.Width =
Screen.Width mapp.Left = 0
mapp.Top = 0
Frame1.Top = Image1.Width * 2 / 100
Frame1.Left = Image1.Width * 125 / 100
Label5.Caption = sec.Label2.Caption
Label6.Caption = sec.Label6.Caption
Frame2.BackColor = RGB(180, 215, 0)
End Sub
Private Sub Label9_Click()
a = MsgBox("Are You Sure About Your Journey",
vbYesNo) If a = 6 Then
Call connect
boo.Close
boo.Open "select * from
book" boo.AddNew
boo.Fields(0) = Label5.Caption
boo.Fields(1) = Label6.Caption
boo.Fields(2) = Val(Label7.Caption)
boo.Fields(3) = Date
boo.Fields(4) = Time
36. boo.Fields(5) = Label11.Caption
boo.Update
If Combo1.Text = "Cash" Then
mapp.Hide
Form1.Show
Unload Me
ElseIf Combo1.Text = "Upi"
Then mapp.Hide
Form22.Show
Unload Me
ElseIf Combo1.Text = "Credit Card" Then
mapp.Hide
Form3.Show
Unload Me
ElseIf Combo1.Text = "Debit Card" Then
mapp.Hide
Form3.Show
Unload Me
ElseIf Combo1.Text = "Internet Banking" Then
mapp.Hide
Form21.Show
Unload Me
End If
Else
Form1.Show
Unload Me
End If
40. SOURCE CODE:
Dim c As Integer
Private Sub
Form_Activate() c = 0
Image6.Visible = False
Image5.Visible = True
End Sub
Private Sub Form_Load()
Label2.ForeColor = RGB(180, 215, 0)
Label3.ForeColor = RGB(180, 215, 0)
Frame1.BackColor = RGB(180, 215, 0)
Frame1.Top = Screen.Height * 25 / 100
Frame1.Left = Screen.Width * 35 / 100
41. Image1.Picture = LoadPicture("e:cabnew foldershadow1.jpg")
Image1.Height = Screen.Height
Image1.Width = Screen.Width
Image1.Left = 0
Image1.Top = 0
Form24.Height = Screen.Height
Form24.Width = Screen.Width
Form24.Left = 0
Form24.Top = 0
ucAniGIF2.Visible =
False End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y
As Single) Image6.Visible = False
Image5.Visible = True
End Sub
Private Sub Frame2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y
As Single) Image6.Visible = False
Image5.Visible = True
End Sub
Private Sub Image5_MouseMove(Button As Integer, Shift As Integer, X As Single, Y
As Single) Image6.Visible = True
End Sub
Private Sub Image6_Click()
Unload Me
End Sub
42. Private Sub Timer1_Timer()
If c = 4 Then
ucAniGIF1.Visible = False
ucAniGIF2.Visible = True
End If
If c >= 6 Then
Unload Me
Form1.Show
MsgBox "Your Ride is Booked",
vbOKOnly Else
c = c +
1 End If
End Sub
43. Thank You
Presented By
Ritika Khandelwal
Bachelors of Computer Application
Dezyne E’cole College
www.dezyneecole.com