Create a Visual Basic Windows application. Use the following for the solution, project, and form file, respectively: Cable Direct Solution, Cable Direct Project, and Main Form.vb. There are two list boxes, one labeled "Premium Channels:" and one labeled "Connections:" The list boxes are named 1stPremium and 1stConnections. Display numbers from 0 through 20 in the 1stPremium control. Display numbers from 0 through 100 in the 1stConnections control. The Calculate Total Due button’s Click event procedure should calculate and display a customer’s cable bill. The cable rates are shown below. Business customers must have at least one connection. The form’s FormClosing event procedure should verify that the user wants to close the application. Use two functions: one to calculate and return the total due for business customers, and the other to calculate and return the total due for residential customers. I would like two radio buttons, one labeled business and one labeled residential. Cable rates: Residential customers: Processing fee: $4.50 Basic service fee: $30 Premium channels: $5 per channel Business customers: Processing fee: $16.50 Basic service fee: $80 for the first 10 connections; $4 for each additional connection Premium channels: $50 per channel for any number

The task at hand is to create a Visual Basic Windows application that calculates and displays a customer’s cable bill. The application should include two list boxes, one labeled “Premium Channels” and the other labeled “Connections.” Additionally, two radio buttons labeled “Business” and “Residential” should be included. The user should be able to select the appropriate options for their type of customer (business or residential), and the application should calculate the total due based on the given rates.

The solution, project, and form file for the application should be named “Cable Direct Solution,” “Cable Direct Project,” and “Main Form.vb,” respectively. The first list box, named 1stPremium, should display numbers from 0 through 20, representing the number of premium channels selected by the customer. The second list box, named 1stConnections, should display numbers from 0 through 100, representing the number of connections the customer has.

To calculate the total due, we will need to utilize two functions: one to calculate and return the total due for business customers, and another to calculate and return the total due for residential customers. The rates for each type of customer are as follows:

Residential customers:
– Processing fee: $4.50
– Basic service fee: $30
– Premium channels: $5 per channel

Business customers:
– Processing fee: $16.50
– Basic service fee: $80 for the first 10 connections; $4 for each additional connection
– Premium channels: $50 per channel for any number

The “Calculate Total Due” button’s Click event procedure should trigger the calculation and display of the customer’s cable bill based on their selected options.

Furthermore, the application should handle the FormClosing event procedure to verify that the user wants to close the application when they attempt to do so.

In summary, the application should provide a user-friendly interface with list boxes, radio buttons, and buttons to allow the user to select their options and calculate the total due based on the given rates for business and residential customers. The application should also handle the closing event to verify the user’s intention to exit the application.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer