Open the Shipping Solution.sln file contained in the VB2017Chap07Shipping Solution folder. The interface provides a text box

Question:

Open the Shipping Solution.sln file contained in the VB2017\Chap07\Shipping Solution folder. The interface provides a text box for entering a shipping code, which should consist of two numbers followed by either one or two letters. The letter(s) represent the delivery method, as follows: MS represents Mail – Standard, MP represents Mail – Priority, FS represents FedEx – Standard, FO represents FedEx – Overnight, and U represents UPS. The btnDelivery_Click procedure should use the Like operator to determine the delivery method to select in the list box. For example, if the shipping code is 73mp, the procedure should select the Mail – Priority item in the list box. The procedure should display an appropriate message when the shipping code is not valid. Code the procedure. Save the solution and then start the application. Test the application using the following valid codes: 73mp, 34fs, 88FO, 12u, and 34ms. Then, test it using the following invalid codes: 9fo and 78hs.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: