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

  Create visual basics application-functionality of gas pump

Create an visual basics application that simulates the functionality of the gas pump. The user enters the number of gallons to purchase and clicks the desired grade.

  It has one button called exit, to quit the program.

Grades for the courses at the college are based on the sum of three assignments, and each assignment is worth a maximum of 100 points. The maximum points a student can get in a course is 300 points. To pass the course, a student needs 189 points o..

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  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

  Create a visual basic windows application

Create a Visual Basic Windows application. Use the following names for the solution, project, and form file, respectively: Georgetown Solution, Georgetown Project, and Main Form.vb. The interface allow the user to enter a five-digit credit card nu..

  Wage calculator with tax calculations

Wage Calculator with Tax Calculations - Develop an application that calculates an employee's earnings

  Shows diagram of holes and angle of inclination

Estimate with your designing excel visual basic software that shows diagram of holes and angle of inclination

  Create a visual basic prototype that has screens for windows

Develop calendar screens for Windows and the Web in which you and create a Visual Basic prototype that has screens for Windows and Web.

  Include a reset button which clear the interface controls

Include a Reset button, which will clear the interface controls the conversion is from wet liters to wet pints and from wet liters to wet gallons.

  Write a program that uses an array of state objects

Write a program that uses an array of state objects and raises an event whenever the population density exceeds 10 million.

  Write a function that calculates the stated value

Write a Function that calculates the stated value with a For Each loop (array nums contains a list of positive integers). The sum of the numbers in the array, the average of the numbers in the array

  Juke box created in visual studios

I need a Juke Box Created in Visual Studios 2010. The code should be done in Visual Basic.

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