Program that validates the value a user enters in a textbox

Assignment Help Visual Basic Programming
Reference no: EM13935199

Design and develop a program that validates the value a user enters into a TextBox control to ensure that the entry is a valid telephone number. The application should accept a maximum of 12 characters. When the user clicks a button, the program should determine if the entry is of the form 999-999-9999, where the character 9 represents any number.

If the entry is determined to be a telephone number, display an appropriate message, along with the separate substrings that compose the telephone number without the dashes. If the entry is not a telephone number, then display a message as to the reason why the entry is not a valid telephone number, clear the TextBox control and set focus to the TextBox control. Use String class methods to solve the problem.

I have completed a version of my own. I want to compare code to the response to see if I am correct with my version. and for use in one of my own programs for website information gathering.

 

Reference no: EM13935199

Questions Cloud

Develop a design plan and schedule detailing : Develop a design plan and schedule detailing your plans for the next 4 weeks in order to deliver the tasks specified. This should cover what design decisions must be made and who should make them; what tasks must be performed and in what order; ho..
Describe reinforcing loop and balancing loop : Draw a typical green building facades and floors showing natural air circulation - Describe how we can increase energy efficiency of a house.
Online and face-to-face classes : Write an essay of about 500 words on the following topic:Compare and/or contrast the advantages and disadvantages of online and face-to-face classes.
Complete the balance sheet : Using the following data, complete the balance sheet. Blue Co.'s records show that current and former customers owe the firm a total of $4,000; $600 of this amount has been due for more than a year from two customers who are now bankrupt
Program that validates the value a user enters in a textbox : I have completed a version of my own. I want to compare code to the response to see if I am correct with my version. and for use in one of my own programs for website information gathering.
How difference correlated with two types of motor activities : Myosin action differs from that of kinesin in that one of the kinesin heads is always in contact with a microtubule, whereas both myosin heads become completely detached from the actin filament.
Complete a personal consumer behaviour journal : You are to complete a Personal Consumer Behaviour Journal over a 10 consecutive day period. You are to use the Journal Template which is an excel spreadsheet available in Moodle.
Promoting the interests of people with disabilities : How Effective is the Legal system as a means of protecting and promoting the interests of people with disabilities?
Create a functional calculator using excel and visual basic : Project is to create a functional calculator using excel and visual basic. please see attached document.

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Gas pump - compute the total cost from the number of gallons

Write a program that will help an elementary school student learn multiplication and compute the total cost from the number of gallons entered and the selected grade.

  Delete their account if they are not registered for class

Create an online account. The registration form should require the student to create a password.

  Write a program that asks for the amount of the bill

Write a program that asks for the amount of the bill and percentage tip and calculates the tip. The program should use variables for each of the quantities and display the outcome in a text box with a label. Test the program on a bill of $20 and a..

  Create a app that calculates a salesperson commission

Develop an application that calculates a salesperson's commission from the number of items sold. Assume that all items have a fixed price of $10 per unit. Use a Select Case statement to implement the following sales commission schedule:

  Exception handling

Can there be such a thing as too much exception handling?

  Program that validates the value a user enters into textbox

Check to see if each part is only numeric characters, using IsNumeric and IndexOf.If error, display error message box.

  Write a program that displays in a textbox

Set the TextBox''s MultiLine property to True and its ScrollBars property to Vertical so that you can scroll through the results.

  Theory of charisma described as a double-edge sword

Why is the theory of charisma described as a double-edge sword and please identify a leader that used charisma in a negative manner

  Determine the output displayed when the button is clicked

Determine the output displayed when the button is clicked. Determine the output displayed when the button is clicked

  Showing data from black friday sales including cost

I need a vb application in Microsoft Visual Studio showing data from black friday sales including cost, sales prices, transportation fees, profits, losses, best selling list, and worst selling list

  Arrays write a program using dynamic arrays to record the

write a program using dynamic arrays to record the high temperatures of last ltbrgtseven days and to display all of

  Write the program vb text as a model

the VB text as a model and write the program so that each group is invisible and becomes visible only when its corresponding check box is checked. After the button is clicked, the amount of the bill should be calculated. NOTE: FIGURE 4.62 IS A DIF..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd