Visual Basic 6

VBP Assignment
Mail Order
As a member of a development team involved in setting up the accounting and
financial systems for a new mail order business for household items, your task is to
develop an application to calculate the amount due for each order. The specifications
for the application are described below.

For an order, the user should enter the following information into text boxes:
customer name, address, city, state, and postal code. An order may consist of
multiple items. For each item, the user will enter the product description, quantity,
weight, and price into text boxes. You will need command buttons for Next Item,
Update Summary, Print, and Exi t.

For the Next Item button, validate the quantity, weight, and price. Each must be
present and numeric. For any bad data, display a message box. Calculate the charge
for the current item and add the charge and weight into the appropriate totals. Do not
calculate shipping and handling on individual items; rather, calculate shipping and
handling on the entire order.

When the Update Summary button is clicked, calculate shipping and handling, the general sales tax (GST), and the total amount due for the order. The GST is 7 percent
of the total charge and is charged only for shipments to a Singapore address.
The shipping and handling charges depend on the weight of the products. Calculate
the shipping charge as 25 cents per pound and add that amount to the handling charge
(taken from Table 1).

Display the entire amount of the bill in labels titled Dollar amount due, GST, Shipping
and handling, and Total amount due.

Table 1
Weight
Handing
Less than 10 pounds
$1
10 to 100 pounds $3.00
$3
Over100 pounds $5.00
$5


Notes:
Please include some comments in your program. As minimum comments, we would
like to see your name, assignment number, and program purpose at the top of the
main file. In addition, each procedure should have a short comment indicating its
purpose. You can place comments anywhere in your program by first typing the '
character. Everything on that line that follows this character is considered a comment
and is ignored by the compiler.


Option Explicit

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.