Computer Science, asked by swatilanka61, 8 months ago

Which property will you use so that a user can enter only 1 to 100 number in a column in a table, otherwise an error message "Enter number in the range of 1 to 100 gets displayed? Explain the steps. DON'T PUT ANY MESSAGE IF YOU DON'T KNOW THE ANSWER. PLEASE DON'T PUT ANY SPAM MESSAGES LIKE : PLEASE FOLLOW ME OR FOLLOW ME AND I WILL GIVE YOU THE ANSWER OR I AM YOUR FOLLOWER OR ANY OTHER MESSAGE. PUT ONLY THE ANSWER IF YOU KNOW IT. ANY WASTE MESSAGES OR ANSWERS YOU WILL BE REPORTED. THANK YOU !!!!!!

Answers

Answered by raksha18rsr
1

Inputting & Outputting Data

If you want to display something on screen in Visual Basic you can do it in a number of ways. The most common ways you will use are by Message Box or List Box.

To input data in Visual Basic there are lots of different form controls that you can use to do this, the most common ones are text boxes and combo boxes.

Inputting - Creating an Interface

Visual Basic have two main parts to it. The first part is creating the user interface, this is a simply drag and drop environment where you can add different form controls such as a text box.

The second part to it is creating the code to make the user interface do/display something.

When creating an interface, there are different types of form controls. Some of those that you will use are:

Label - used to display text on an interface

Text Box - used to allow the user to type in some text

Combo Box - used to give a set of options to the user

List Box - used to provide a list of options to choose from or display a list of information that has been calculated in the program.

Button - these are often used so when the user clicks on them something happens.

In Visual Studio on the left hand side you have the toolbox, this is where you can drag and drop your form controls. It looks like this:

Similar questions