Visual Basic 6.0 Practical Exercises Pdf -

Enter a number 1–7. Using Select Case , show the corresponding weekday name. Exercise Set 3: Loops (For, Do While, Do Until) 9. Multiplication Table Input a number from the user. Show its multiplication table from 1 to 10 in a ListBox.

Create two text boxes for numbers, four buttons (+, -, *, /), and a label for the result. Perform the operation and show the result. Handle division by zero with a message box. visual basic 6.0 practical exercises pdf

Hardcode an array of 10 names. Let the user type a name. Use a loop to find if it exists. Show “Found” or “Not Found”. Enter a number 1–7

Input N. Calculate and display sum = 1+2+…+N using a For loop. Multiplication Table Input a number from the user

Use three OptionButtons (Red, Yellow, Green). Based on selection, display a message: “Stop”, “Ready”, or “Go”.

Use text boxes and a button to insert a new record into the Access database using Recordset.AddNew .

Write a subroutine ClearTextBoxes() that loops through all controls on the form and clears any TextBox .

×
  • {title}