Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Question
Book Icon
Chapter 5, Problem 8E
Program Plan Intro

Form design:

  • Open Microsoft Visual Studio.
  • Select Visual Basic and click Windows Application.
  • Name the project as “Multiplication Project”.
  • Store the file in desire location.
  • The created project is now display with a form in the name of Form1.
  • Rename the Form1 as “Main Form” and add the necessary components.
  • In property window, change the Form name and add changes for Form elements properties.
  • Click the File menu->Save All.

View of the form design in the IDE:

Programming with Microsoft Visual Basic 2017, Chapter 5, Problem 8E

The form control properties in the properties window are as follows:

ObjectPropertySetting
Form1TextMultiplication Table
txtNumberText(Empty)
lblTableText(Empty)
btnForNextTextFor…Next
btnDoLoopTextDo…Loop
btnExitTextExit
  • Add a text box control to get the input for multiplication table number from user.
  • Add a label control to display the result of table.
  • Add two button controls to generate multiplication table using ForLoop and DoLoop respectively.
  • Finally, add a button control that is used to exit the application.

Blurred answer
Students have asked these similar questions
For the code below can you varify the card number, card exp date, card cvv and address  for example the card number should be 13 numbers if any more it should say "invalid" for the card exp date it should be like 12/35 if not then its invalid  for card cvv it should only be 3 numbers  and address should be like 11-11-11st as long as it has the "-" and "st" also when ever its invalid can you make it print on the bottom of the box like the example in the image below. thank you <!DOCTYPE html> <html>  <head>     <style>     input {     height: 25px;     border-radius: 5px;     }     </style>      <script> function validate() { if (!validateVal(document.getElementById("number").value)) { alert("Please Enter the number"); return; } var num = parseInt(document.getElementById("number").value); if (num < 1 || num > 9) { alert("Enter a number between 1 and 9(Including 1 and 9)"); return; } if (!validateVal(document.getElementById("name").value)) {…
You can break the active column usingA) Break From Insert CommandB) Ctrl+Shift+EnterC) Ctrl+EnterD) Both A and B
Write a Do clause using the While keyword that processes the loop body as long as the value in the dblScore variable is greater than 0 and less than or equal to 100.