SlideShare a Scribd company logo
1 of 12
Burger Doll Order Form

An example of a program code for Burger Doll Order Form system is shown as follows:
1. Declare Types of Meals and Rates array in General section:
Dim typemeal(4) As String
Dim rates(1 To 6) As Double
Dim ExtraHrs, TtlAmt, j As Integer

2. Assign all values of Types of Meals and Rates in Form_Load:
Private Sub Form_Load()
typemeal(1)
typemeal(2)
typemeal(3)
typemeal(4)
rates(1)
rates(2)
rates(3)
rates(4)
rates(5)
rates(6)

=
=
=
=
=
=

=
=
=
=

"D.L. Beef Burger"
"Chicken Slice Burger"
"Fish Burger"
"Smoke Beef Sandwich "

10.5
5.5
13#
14#
6 / 100
10 / 100

End Sub

1
3. To display all information from Types of Melas and Rates button in the Object
BoxList and prompt the message box for listing loaded, the Display as shown in
Figure1.1:
Private Sub CmdDsplayTypeMeal_Click()
t = Chr(9) 'tab values
For i = 1 To 4
list1.AddItem (typemeal(i) & t & "RM " & rates(i))
Next
list1.Clear
list1.AddItem "D.L. Beef Burger"
list1.ItemData(list1.NewIndex) = 1
list1.AddItem "Chicken Slice Burger"
list1.ItemData(list1.NewIndex) = 2
list1.AddItem "Fish Burger"
list1.ItemData(list1.NewIndex) = 3
list1.AddItem "Smoke Beef Sandwich"
list1.ItemData(list1.NewIndex) = 4
MsgBox" Order Please...", _
vbInformation, "Burger Doll Order Form"
End Sub

4. Next, to select Type of Car for result using List Box ( LblMeal)
5. Type in the next box for total day(s) using text box (txtQua) and type the extra
hour(LblCheese)
Private Sub LblCheese_Change()
LblHr3 = Val(LblCheese) * 1
End Sub

2
6. Finally, The program code btnCalculate_Click function for bill amount include
aRM30 deposit is as follows, as shown in Figure 1.3:
Private Sub btnCalculate_Click()
If list1.ItemData(list1.ListIndex) = 1 Then
TxtAmt.Text = (rates(1) * txtQua) + Val(LblHr3)
GovTax.Text = Format(Val(TxtAmt.Text) * rates(5), "#.##")
TtlDay.Text = Val(TxtAmt) + Val(GovTax) + Val(sertax)
End If
If list1.ItemData(list1.ListIndex) = 2 Then
TxtAmt.Text = (rates(2) * txtQua) + Val(LblHr3)
GovTax.Text = Format(Val(TxtAmt) * rates(5), "#.##")
TtlDay.Text = Val(TxtAmt) + Val(GovTax) + Val(sertax)
End If
If list1.ItemData(list1.ListIndex) = 3 Then
TxtAmt.Text = (rates(3) * txtQua) + Val(LblHr3)
GovTax.Text = Format(Val(TxtAmt) * rates(5), "#.##")
TtlDay.Text = Val(TxtAmt) + Val(GovTax) + Val(sertax)
End If
If list1.ItemData(list1.ListIndex) = 4 Then
TxtAmt.Text = (rates(4) * txtQua) + Val(LblHr3)
GovTax.Text = Format(Val(TxtAmt) * rates(5), "#.##")
TtlDay.Text = Val(TxtAmt) + Val(GovTax) + Val(sertax)
End If
End Sub
7. To reset the value using reset button (cmdReset):
Private Sub cmdReset_Click()
LblCheese.Text = 0#
TxtAmt.Text = 0#
GovTax.Text = 0#
txtQua.Text = 1
TtlDay.Text = 0#
sertax.Text = 0#
txtName.Text = ""
chkDine.Value = 0
End Sub

3
8. To prompt printing for bill payment with using Print button, as shown Figure 1.4:
Private Sub btnOrder_Click()
t = Chr(9) 'tab
Do
j=j+1
list2.AddItem (j & "." &txtName& t & list1 & t & t &txtQua& t &TxtAmt& t &_
GovTax& t & t &sertax& t & t & LblHr3 & t &TtlDay)
Loop Until TtlAmt<= 0
End Sub

9. Clear button to clear list box for bill payment (btnClear):
Private Sub btnClear_Click()
list2.Clear
j=0
End Sub

10. Exit button (btnExit):
Private Sub btnExit_Click()
End
End Sub

11. About Menu Button (mnuabout)
Private Sub mnuabout_Click()
frmAbout.Show
End Sub

4
12. About Menu Button (mnuMeal)
Private Sub mnumeal_Click()
frmMeal.Show
End Sub

13. Set the output format for the (GovTax), (Text1), (TtlDay), (TxtAmt):
Private Sub [name]_Change()
output = Format("#.##")
End Sub

14. Check box for Dine in (chkdine)
Private Sub chkDine_Click()
If chkDine.Value = 1 Then
sertax.Text = Format(Val(TxtAmt) * rates(6), "#,##")
Else
sertax.Text = 0
End If
End Sub

5
Below the program interface for Car Rental Booking system:

Figure 1.0: Main Frame for Burger Doll Order System

6
Figure 1.1: Display Listing Types of Meals

7
Figure 1.2: Select Type of Meals, insert name, Dine in and Calculate without extra
cheese. After that, click order.

8
Figure 1.3: Click Reset Button to reset the value of the form.

9
Figure 1.2: Select Type of Meals, insert name, Dine in,Calculate with 2 extra
cheese and 2 quantity. After that, click order.

10
Figure 1.2: Select Type of Meals, insert name, Dine in,Calculate with 2 extra
cheese and 3 quantity. After that, click order.

11
Object Name
List1
CmdDsplayTypeMeal
txtQua
LblCheese
TxtAmt
LblCheese
GovTax
btnCalculate

Properties Name

Properties Values

Caption
Text
Text
Text
Text
Text
Caption

&Display Types of Meals
1

cmdReset
List2
lblPay

Caption

Reset

Caption

btnOrder
btnClear
btnExit
txtCheese
Sertax

Caption
Caption
Caption
Text
CheckBox

Type Car Day(s) Ex-hour(s)
Amount Deposit Total
Print
Clear
Exit

0
Calculate

12

More Related Content

What's hot

Private sub command1
Private sub command1Private sub command1
Private sub command1sukanya5729
 
cafeteria info management system
cafeteria info management systemcafeteria info management system
cafeteria info management systemGaurav Subham
 
Programas Gambas
Programas GambasProgramas Gambas
Programas Gambasguestdd103d
 
Database Management - Lecture 3 - SQL Aggregate Functions, Join
Database Management - Lecture 3 - SQL Aggregate Functions, JoinDatabase Management - Lecture 3 - SQL Aggregate Functions, Join
Database Management - Lecture 3 - SQL Aggregate Functions, JoinAl-Mamun Sarkar
 
Closure, Higher-order function in Swift
Closure, Higher-order function in SwiftClosure, Higher-order function in Swift
Closure, Higher-order function in SwiftSeongGyu Jo
 
Programming a guide gui
Programming a guide guiProgramming a guide gui
Programming a guide guiMahmoud Hikmet
 
Fb cheatsheet12b
Fb cheatsheet12bFb cheatsheet12b
Fb cheatsheet12bilesh raval
 
Programas Gambas
Programas GambasProgramas Gambas
Programas GambasRZYMJ
 
Pasos de proyecto1
Pasos de proyecto1Pasos de proyecto1
Pasos de proyecto1Ayhli123
 
Print input-presentation
Print input-presentationPrint input-presentation
Print input-presentationMartin McBride
 
Proyecto 2er Parcial
Proyecto 2er ParcialProyecto 2er Parcial
Proyecto 2er ParcialYuliana9_7
 

What's hot (15)

Private sub command1
Private sub command1Private sub command1
Private sub command1
 
cafeteria info management system
cafeteria info management systemcafeteria info management system
cafeteria info management system
 
Gambas
Gambas Gambas
Gambas
 
Programas Gambas
Programas GambasProgramas Gambas
Programas Gambas
 
Database Management - Lecture 3 - SQL Aggregate Functions, Join
Database Management - Lecture 3 - SQL Aggregate Functions, JoinDatabase Management - Lecture 3 - SQL Aggregate Functions, Join
Database Management - Lecture 3 - SQL Aggregate Functions, Join
 
Closure, Higher-order function in Swift
Closure, Higher-order function in SwiftClosure, Higher-order function in Swift
Closure, Higher-order function in Swift
 
Manual De Gambas
Manual De GambasManual De Gambas
Manual De Gambas
 
Programming a guide gui
Programming a guide guiProgramming a guide gui
Programming a guide gui
 
Fb cheatsheet12b
Fb cheatsheet12bFb cheatsheet12b
Fb cheatsheet12b
 
Programas Gambas
Programas GambasProgramas Gambas
Programas Gambas
 
Pasos de proyecto1
Pasos de proyecto1Pasos de proyecto1
Pasos de proyecto1
 
Print input-presentation
Print input-presentationPrint input-presentation
Print input-presentation
 
Gambas
GambasGambas
Gambas
 
52 100 keyboard_shortcuts
52 100 keyboard_shortcuts52 100 keyboard_shortcuts
52 100 keyboard_shortcuts
 
Proyecto 2er Parcial
Proyecto 2er ParcialProyecto 2er Parcial
Proyecto 2er Parcial
 

Similar to Burger doll order form

Documento de altas
Documento de altasDocumento de altas
Documento de altasalejandroDFK
 
Updated Visual Basic 6 for beginners.pptx
Updated Visual Basic 6 for beginners.pptxUpdated Visual Basic 6 for beginners.pptx
Updated Visual Basic 6 for beginners.pptxSarveshDeodhar
 
1. Determine the output displayed when the button is clicked.Priva.docx
1. Determine the output displayed when the button is clicked.Priva.docx1. Determine the output displayed when the button is clicked.Priva.docx
1. Determine the output displayed when the button is clicked.Priva.docxcorbing9ttj
 
1. Determine the output displayed when the button is clicked. Priv.docx
1. Determine the output displayed when the button is clicked. Priv.docx1. Determine the output displayed when the button is clicked. Priv.docx
1. Determine the output displayed when the button is clicked. Priv.docxcorbing9ttj
 
Inventory management
Inventory managementInventory management
Inventory managementRajeev Sharan
 
Reservasi hotel
Reservasi hotelReservasi hotel
Reservasi hoteldian pw
 
SISTEMA DE FACTURACION (Ejemplo desarrollado)
SISTEMA DE FACTURACION (Ejemplo desarrollado)SISTEMA DE FACTURACION (Ejemplo desarrollado)
SISTEMA DE FACTURACION (Ejemplo desarrollado)Darwin Durand
 
Windows Forms For Beginners Part 5
Windows Forms For Beginners Part 5Windows Forms For Beginners Part 5
Windows Forms For Beginners Part 5Bhushan Mulmule
 
4.7.14&amp;17.7.14&amp;23.6.15&amp;10.9.15
4.7.14&amp;17.7.14&amp;23.6.15&amp;10.9.154.7.14&amp;17.7.14&amp;23.6.15&amp;10.9.15
4.7.14&amp;17.7.14&amp;23.6.15&amp;10.9.15Rajes Wari
 
Tkinter_GUI_Programming_in_Python.pdf
Tkinter_GUI_Programming_in_Python.pdfTkinter_GUI_Programming_in_Python.pdf
Tkinter_GUI_Programming_in_Python.pdfArielManzano3
 

Similar to Burger doll order form (20)

Documento de altas
Documento de altasDocumento de altas
Documento de altas
 
Updated Visual Basic 6 for beginners.pptx
Updated Visual Basic 6 for beginners.pptxUpdated Visual Basic 6 for beginners.pptx
Updated Visual Basic 6 for beginners.pptx
 
Ejercicios
EjerciciosEjercicios
Ejercicios
 
1. Determine the output displayed when the button is clicked.Priva.docx
1. Determine the output displayed when the button is clicked.Priva.docx1. Determine the output displayed when the button is clicked.Priva.docx
1. Determine the output displayed when the button is clicked.Priva.docx
 
1. Determine the output displayed when the button is clicked. Priv.docx
1. Determine the output displayed when the button is clicked. Priv.docx1. Determine the output displayed when the button is clicked. Priv.docx
1. Determine the output displayed when the button is clicked. Priv.docx
 
Colegio municipal
Colegio municipalColegio municipal
Colegio municipal
 
Yuliana
YulianaYuliana
Yuliana
 
Inventory management
Inventory managementInventory management
Inventory management
 
Richtextbox
RichtextboxRichtextbox
Richtextbox
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programming
 
Design for edp
Design for edpDesign for edp
Design for edp
 
Reservasi hotel
Reservasi hotelReservasi hotel
Reservasi hotel
 
SISTEMA DE FACTURACION (Ejemplo desarrollado)
SISTEMA DE FACTURACION (Ejemplo desarrollado)SISTEMA DE FACTURACION (Ejemplo desarrollado)
SISTEMA DE FACTURACION (Ejemplo desarrollado)
 
Windows Forms For Beginners Part 5
Windows Forms For Beginners Part 5Windows Forms For Beginners Part 5
Windows Forms For Beginners Part 5
 
4.7.14&amp;17.7.14&amp;23.6.15&amp;10.9.15
4.7.14&amp;17.7.14&amp;23.6.15&amp;10.9.154.7.14&amp;17.7.14&amp;23.6.15&amp;10.9.15
4.7.14&amp;17.7.14&amp;23.6.15&amp;10.9.15
 
yazılı
yazılıyazılı
yazılı
 
Java calculator
Java calculatorJava calculator
Java calculator
 
Tkinter_GUI_Programming_in_Python.pdf
Tkinter_GUI_Programming_in_Python.pdfTkinter_GUI_Programming_in_Python.pdf
Tkinter_GUI_Programming_in_Python.pdf
 
Docimp
DocimpDocimp
Docimp
 
Vb file
Vb fileVb file
Vb file
 

More from Khairi Aiman

Sistem HITeCOB - Suruhanjaya Bangunan COB
Sistem HITeCOB - Suruhanjaya Bangunan COBSistem HITeCOB - Suruhanjaya Bangunan COB
Sistem HITeCOB - Suruhanjaya Bangunan COBKhairi Aiman
 
Overview to Data Transaction Management
Overview to Data Transaction ManagementOverview to Data Transaction Management
Overview to Data Transaction ManagementKhairi Aiman
 
Xamarin.Form : Basic to Mobile Development
Xamarin.Form : Basic to Mobile DevelopmentXamarin.Form : Basic to Mobile Development
Xamarin.Form : Basic to Mobile DevelopmentKhairi Aiman
 
Overview to Xamarin : Understanding Xamarin Architecture
Overview to Xamarin : Understanding Xamarin ArchitectureOverview to Xamarin : Understanding Xamarin Architecture
Overview to Xamarin : Understanding Xamarin ArchitectureKhairi Aiman
 
Xamarin.Forms Application UI XAML Definition
Xamarin.Forms Application UI XAML DefinitionXamarin.Forms Application UI XAML Definition
Xamarin.Forms Application UI XAML DefinitionKhairi Aiman
 
C# programming : Chapter One
C# programming : Chapter OneC# programming : Chapter One
C# programming : Chapter OneKhairi Aiman
 
Catalouge 2016 Hery Intelligent Technology
Catalouge 2016 Hery Intelligent TechnologyCatalouge 2016 Hery Intelligent Technology
Catalouge 2016 Hery Intelligent TechnologyKhairi Aiman
 
HIT Catalogue 2016
HIT Catalogue 2016HIT Catalogue 2016
HIT Catalogue 2016Khairi Aiman
 
Prinsip perakaunan tinkatan 4 bab 7 Part 1 - Pelarasan & Mukadimah
Prinsip perakaunan tinkatan 4 bab 7 Part 1 - Pelarasan & MukadimahPrinsip perakaunan tinkatan 4 bab 7 Part 1 - Pelarasan & Mukadimah
Prinsip perakaunan tinkatan 4 bab 7 Part 1 - Pelarasan & MukadimahKhairi Aiman
 
Meterpreter in Metasploit User Guide
Meterpreter in Metasploit User GuideMeterpreter in Metasploit User Guide
Meterpreter in Metasploit User GuideKhairi Aiman
 
Hacking SSL When Using RC4
Hacking SSL When Using RC4Hacking SSL When Using RC4
Hacking SSL When Using RC4Khairi Aiman
 
Hery Intelligent Technology - Corporate Profile 2015
Hery Intelligent Technology - Corporate Profile 2015Hery Intelligent Technology - Corporate Profile 2015
Hery Intelligent Technology - Corporate Profile 2015Khairi Aiman
 
CIA Stratergic Communication - September 2004
CIA Stratergic Communication - September 2004CIA Stratergic Communication - September 2004
CIA Stratergic Communication - September 2004Khairi Aiman
 
Pengaturcaraan C++ - Permarkahan (C++ Programming - Scores)
Pengaturcaraan C++ - Permarkahan (C++ Programming - Scores)Pengaturcaraan C++ - Permarkahan (C++ Programming - Scores)
Pengaturcaraan C++ - Permarkahan (C++ Programming - Scores)Khairi Aiman
 
Pengaturcaraan C++ - Kalukulator Bulatan (C++ Programming - Circle Calculator)
Pengaturcaraan C++ - Kalukulator Bulatan (C++ Programming - Circle Calculator)Pengaturcaraan C++ - Kalukulator Bulatan (C++ Programming - Circle Calculator)
Pengaturcaraan C++ - Kalukulator Bulatan (C++ Programming - Circle Calculator)Khairi Aiman
 
(SOCIAL ENGINEERING - MY) - Psiko rakan kerja
(SOCIAL ENGINEERING - MY) - Psiko rakan kerja(SOCIAL ENGINEERING - MY) - Psiko rakan kerja
(SOCIAL ENGINEERING - MY) - Psiko rakan kerjaKhairi Aiman
 
Kiosk teknologi masa kini - Kajian Soalan
Kiosk teknologi masa kini - Kajian SoalanKiosk teknologi masa kini - Kajian Soalan
Kiosk teknologi masa kini - Kajian SoalanKhairi Aiman
 
Hack the book Mini
Hack the book MiniHack the book Mini
Hack the book MiniKhairi Aiman
 

More from Khairi Aiman (20)

Sistem HITeCOB - Suruhanjaya Bangunan COB
Sistem HITeCOB - Suruhanjaya Bangunan COBSistem HITeCOB - Suruhanjaya Bangunan COB
Sistem HITeCOB - Suruhanjaya Bangunan COB
 
Overview to Data Transaction Management
Overview to Data Transaction ManagementOverview to Data Transaction Management
Overview to Data Transaction Management
 
Xamarin.Form : Basic to Mobile Development
Xamarin.Form : Basic to Mobile DevelopmentXamarin.Form : Basic to Mobile Development
Xamarin.Form : Basic to Mobile Development
 
Overview to Xamarin : Understanding Xamarin Architecture
Overview to Xamarin : Understanding Xamarin ArchitectureOverview to Xamarin : Understanding Xamarin Architecture
Overview to Xamarin : Understanding Xamarin Architecture
 
Xamarin.Forms Application UI XAML Definition
Xamarin.Forms Application UI XAML DefinitionXamarin.Forms Application UI XAML Definition
Xamarin.Forms Application UI XAML Definition
 
C# programming : Chapter One
C# programming : Chapter OneC# programming : Chapter One
C# programming : Chapter One
 
Catalouge 2016 Hery Intelligent Technology
Catalouge 2016 Hery Intelligent TechnologyCatalouge 2016 Hery Intelligent Technology
Catalouge 2016 Hery Intelligent Technology
 
HIT Catalogue 2016
HIT Catalogue 2016HIT Catalogue 2016
HIT Catalogue 2016
 
Prinsip perakaunan tinkatan 4 bab 7 Part 1 - Pelarasan & Mukadimah
Prinsip perakaunan tinkatan 4 bab 7 Part 1 - Pelarasan & MukadimahPrinsip perakaunan tinkatan 4 bab 7 Part 1 - Pelarasan & Mukadimah
Prinsip perakaunan tinkatan 4 bab 7 Part 1 - Pelarasan & Mukadimah
 
Meterpreter in Metasploit User Guide
Meterpreter in Metasploit User GuideMeterpreter in Metasploit User Guide
Meterpreter in Metasploit User Guide
 
Hacking SSL When Using RC4
Hacking SSL When Using RC4Hacking SSL When Using RC4
Hacking SSL When Using RC4
 
Hery Intelligent Technology - Corporate Profile 2015
Hery Intelligent Technology - Corporate Profile 2015Hery Intelligent Technology - Corporate Profile 2015
Hery Intelligent Technology - Corporate Profile 2015
 
CIA Stratergic Communication - September 2004
CIA Stratergic Communication - September 2004CIA Stratergic Communication - September 2004
CIA Stratergic Communication - September 2004
 
Pengaturcaraan C++ - Permarkahan (C++ Programming - Scores)
Pengaturcaraan C++ - Permarkahan (C++ Programming - Scores)Pengaturcaraan C++ - Permarkahan (C++ Programming - Scores)
Pengaturcaraan C++ - Permarkahan (C++ Programming - Scores)
 
Pengaturcaraan C++ - Kalukulator Bulatan (C++ Programming - Circle Calculator)
Pengaturcaraan C++ - Kalukulator Bulatan (C++ Programming - Circle Calculator)Pengaturcaraan C++ - Kalukulator Bulatan (C++ Programming - Circle Calculator)
Pengaturcaraan C++ - Kalukulator Bulatan (C++ Programming - Circle Calculator)
 
13 May 1969
13 May 196913 May 1969
13 May 1969
 
Bahasa kebangsaan
Bahasa kebangsaanBahasa kebangsaan
Bahasa kebangsaan
 
(SOCIAL ENGINEERING - MY) - Psiko rakan kerja
(SOCIAL ENGINEERING - MY) - Psiko rakan kerja(SOCIAL ENGINEERING - MY) - Psiko rakan kerja
(SOCIAL ENGINEERING - MY) - Psiko rakan kerja
 
Kiosk teknologi masa kini - Kajian Soalan
Kiosk teknologi masa kini - Kajian SoalanKiosk teknologi masa kini - Kajian Soalan
Kiosk teknologi masa kini - Kajian Soalan
 
Hack the book Mini
Hack the book MiniHack the book Mini
Hack the book Mini
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 

Burger doll order form

  • 1. Burger Doll Order Form An example of a program code for Burger Doll Order Form system is shown as follows: 1. Declare Types of Meals and Rates array in General section: Dim typemeal(4) As String Dim rates(1 To 6) As Double Dim ExtraHrs, TtlAmt, j As Integer 2. Assign all values of Types of Meals and Rates in Form_Load: Private Sub Form_Load() typemeal(1) typemeal(2) typemeal(3) typemeal(4) rates(1) rates(2) rates(3) rates(4) rates(5) rates(6) = = = = = = = = = = "D.L. Beef Burger" "Chicken Slice Burger" "Fish Burger" "Smoke Beef Sandwich " 10.5 5.5 13# 14# 6 / 100 10 / 100 End Sub 1
  • 2. 3. To display all information from Types of Melas and Rates button in the Object BoxList and prompt the message box for listing loaded, the Display as shown in Figure1.1: Private Sub CmdDsplayTypeMeal_Click() t = Chr(9) 'tab values For i = 1 To 4 list1.AddItem (typemeal(i) & t & "RM " & rates(i)) Next list1.Clear list1.AddItem "D.L. Beef Burger" list1.ItemData(list1.NewIndex) = 1 list1.AddItem "Chicken Slice Burger" list1.ItemData(list1.NewIndex) = 2 list1.AddItem "Fish Burger" list1.ItemData(list1.NewIndex) = 3 list1.AddItem "Smoke Beef Sandwich" list1.ItemData(list1.NewIndex) = 4 MsgBox" Order Please...", _ vbInformation, "Burger Doll Order Form" End Sub 4. Next, to select Type of Car for result using List Box ( LblMeal) 5. Type in the next box for total day(s) using text box (txtQua) and type the extra hour(LblCheese) Private Sub LblCheese_Change() LblHr3 = Val(LblCheese) * 1 End Sub 2
  • 3. 6. Finally, The program code btnCalculate_Click function for bill amount include aRM30 deposit is as follows, as shown in Figure 1.3: Private Sub btnCalculate_Click() If list1.ItemData(list1.ListIndex) = 1 Then TxtAmt.Text = (rates(1) * txtQua) + Val(LblHr3) GovTax.Text = Format(Val(TxtAmt.Text) * rates(5), "#.##") TtlDay.Text = Val(TxtAmt) + Val(GovTax) + Val(sertax) End If If list1.ItemData(list1.ListIndex) = 2 Then TxtAmt.Text = (rates(2) * txtQua) + Val(LblHr3) GovTax.Text = Format(Val(TxtAmt) * rates(5), "#.##") TtlDay.Text = Val(TxtAmt) + Val(GovTax) + Val(sertax) End If If list1.ItemData(list1.ListIndex) = 3 Then TxtAmt.Text = (rates(3) * txtQua) + Val(LblHr3) GovTax.Text = Format(Val(TxtAmt) * rates(5), "#.##") TtlDay.Text = Val(TxtAmt) + Val(GovTax) + Val(sertax) End If If list1.ItemData(list1.ListIndex) = 4 Then TxtAmt.Text = (rates(4) * txtQua) + Val(LblHr3) GovTax.Text = Format(Val(TxtAmt) * rates(5), "#.##") TtlDay.Text = Val(TxtAmt) + Val(GovTax) + Val(sertax) End If End Sub 7. To reset the value using reset button (cmdReset): Private Sub cmdReset_Click() LblCheese.Text = 0# TxtAmt.Text = 0# GovTax.Text = 0# txtQua.Text = 1 TtlDay.Text = 0# sertax.Text = 0# txtName.Text = "" chkDine.Value = 0 End Sub 3
  • 4. 8. To prompt printing for bill payment with using Print button, as shown Figure 1.4: Private Sub btnOrder_Click() t = Chr(9) 'tab Do j=j+1 list2.AddItem (j & "." &txtName& t & list1 & t & t &txtQua& t &TxtAmt& t &_ GovTax& t & t &sertax& t & t & LblHr3 & t &TtlDay) Loop Until TtlAmt<= 0 End Sub 9. Clear button to clear list box for bill payment (btnClear): Private Sub btnClear_Click() list2.Clear j=0 End Sub 10. Exit button (btnExit): Private Sub btnExit_Click() End End Sub 11. About Menu Button (mnuabout) Private Sub mnuabout_Click() frmAbout.Show End Sub 4
  • 5. 12. About Menu Button (mnuMeal) Private Sub mnumeal_Click() frmMeal.Show End Sub 13. Set the output format for the (GovTax), (Text1), (TtlDay), (TxtAmt): Private Sub [name]_Change() output = Format("#.##") End Sub 14. Check box for Dine in (chkdine) Private Sub chkDine_Click() If chkDine.Value = 1 Then sertax.Text = Format(Val(TxtAmt) * rates(6), "#,##") Else sertax.Text = 0 End If End Sub 5
  • 6. Below the program interface for Car Rental Booking system: Figure 1.0: Main Frame for Burger Doll Order System 6
  • 7. Figure 1.1: Display Listing Types of Meals 7
  • 8. Figure 1.2: Select Type of Meals, insert name, Dine in and Calculate without extra cheese. After that, click order. 8
  • 9. Figure 1.3: Click Reset Button to reset the value of the form. 9
  • 10. Figure 1.2: Select Type of Meals, insert name, Dine in,Calculate with 2 extra cheese and 2 quantity. After that, click order. 10
  • 11. Figure 1.2: Select Type of Meals, insert name, Dine in,Calculate with 2 extra cheese and 3 quantity. After that, click order. 11
  • 12. Object Name List1 CmdDsplayTypeMeal txtQua LblCheese TxtAmt LblCheese GovTax btnCalculate Properties Name Properties Values Caption Text Text Text Text Text Caption &Display Types of Meals 1 cmdReset List2 lblPay Caption Reset Caption btnOrder btnClear btnExit txtCheese Sertax Caption Caption Caption Text CheckBox Type Car Day(s) Ex-hour(s) Amount Deposit Total Print Clear Exit 0 Calculate 12