A Stationery supplier “Adwaat Al Maktabiyah” needs a program to display sales as per regions and add the sales to the file called sales.txt. The files Personal Details.txt and Sales.txt have been provided. You may download and use them in your program. They are as shown below: PersonalDetails.txt Id First name Last Name Region E111 Alvin Jones East C121 Blake Kivell Central C253 Edda Jardine Central Sales.txt Rep_Id OrderDate Region Item Units UnitCost E111 1/6/2020 East Pencil 95 1.99 C121 1/23/2020 Central Binder 50 19.99 C253 2/9/2020 Central Pencil 36 4.99 Note: - Use structures in the coding and declare structure array as public as shown below. The question 7 doesn’t need arrays. Structure personaldetails Dim rid As String ' Employee id Dim fn As String 'First name Dim ln As String 'Last name Dim rn As String ' Region he belongs to End Structure Structure Regionalsales Dim id As String 'employee id Dim od As Date 'Order Date Dim region As String 'order region Dim item As String ' product name Dim unit As Integer ' Quantity of items Dim unitcost As Double ' price of a unit End Structure Public pd(perdet.Count - 1) As personaldetails Public rs(sales.Count - 1) As Regionalsales Public reg As String 1. Design the following forms. a. Add Label with the text “Adwaat AL Maktabiyah”. 3 Mark i. Dock: Top ii. Autosize: False iii. TextAlign: Middle, Center b. Add a button and button text as “Add New Order”. 1 Mark c. Add a button and text as “Exit Application”. 1 Mark d. Add a datagridview and name it dgv1. 1 Mark e. Add formText as Your Id. 0.5 Mark f. Save the with the name mainform.vb. 0.5 Mark
A Stationery supplier “Adwaat Al Maktabiyah” needs a program to display sales as per regions and add the sales to the file called sales.txt. The files Personal Details.txt and Sales.txt have been provided. You may download and use them in your program. They are as shown below: PersonalDetails.txt Id First name Last Name Region E111 Alvin Jones East C121 Blake Kivell Central C253 Edda Jardine Central Sales.txt Rep_Id OrderDate Region Item Units UnitCost E111 1/6/2020 East Pencil 95 1.99 C121 1/23/2020 Central Binder 50 19.99 C253 2/9/2020 Central Pencil 36 4.99 Note: - Use structures in the coding and declare structure array as public as shown below. The question 7 doesn’t need arrays. Structure personaldetails Dim rid As String ' Employee id Dim fn As String 'First name Dim ln As String 'Last name Dim rn As String ' Region he belongs to End Structure Structure Regionalsales Dim id As String 'employee id Dim od As Date 'Order Date Dim region As String 'order region Dim item As String ' product name Dim unit As Integer ' Quantity of items Dim unitcost As Double ' price of a unit End Structure Public pd(perdet.Count - 1) As personaldetails Public rs(sales.Count - 1) As Regionalsales Public reg As String 1. Design the following forms. a. Add Label with the text “Adwaat AL Maktabiyah”. 3 Mark i. Dock: Top ii. Autosize: False iii. TextAlign: Middle, Center b. Add a button and button text as “Add New Order”. 1 Mark c. Add a button and text as “Exit Application”. 1 Mark d. Add a datagridview and name it dgv1. 1 Mark e. Add formText as Your Id. 0.5 Mark f. Save the with the name mainform.vb. 0.5 Mark
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
A Stationery supplier “Adwaat Al Maktabiyah” needs a program to display sales as per regions and add the sales
to the file called sales.txt. The files Personal Details.txt and Sales.txt have been provided. You may download
and use them in your program. They are as shown below:
PersonalDetails.txt
Id First name Last Name Region
E111 Alvin Jones East
C121 Blake Kivell Central
C253 Edda Jardine Central
Sales.txt
Rep_Id OrderDate Region Item Units UnitCost
E111 1/6/2020 East Pencil 95 1.99
C121 1/23/2020 Central Binder 50 19.99
C253 2/9/2020 Central Pencil 36 4.99
Note: - Use structures in the coding and declare structure array as public as shown below. The question 7
doesn’t need arrays.
Structure personaldetails
Dim rid As String ' Employee id
Dim fn As String 'First name
Dim ln As String 'Last name
Dim rn As String ' Region he belongs to
End Structure
Structure Regionalsales
Dim id As String 'employee id
Dim od As Date 'Order Date
Dim region As String 'order region
Dim item As String ' product name
Dim unit As Integer ' Quantity of items
Dim unitcost As Double ' price of a unit
End Structure
Public pd(perdet.Count - 1) As personaldetails
Public rs(sales.Count - 1) As Regionalsales
Public reg As String
1. Design the following forms.
a. Add Label with the text “Adwaat AL Maktabiyah”. 3 Mark
i. Dock: Top
ii. Autosize: False
iii. TextAlign: Middle, Center
b. Add a button and button text as “Add New Order”. 1 Mark
c. Add a button and text as “Exit Application”. 1 Mark
d. Add a datagridview and name it dgv1. 1 Mark
e. Add formText as Your Id. 0.5 Mark
f. Save the with the name mainform.vb. 0.5 Mark
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 4 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY