Open the VB2015Chap08Shipping SolutionShipping Solution (Shipping Solution.sln) file. The interface provides a text box for entering a

Question:

Open the VB2015\Chap08\Shipping Solution\Shipping Solution (Shipping Solution.sln) file. 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 error message when the shipping code does not contain two numbers followed by one or two letters, or when the letters do not represent a valid delivery method. Test the application using the following data: 73mp, 34fs, 12u, 78h, 9FO, 88FO, and 34ms.

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

Step by Step Answer:

Related Book For  answer-question
Question Posted: