Fill an array with numbers 1–5. Display original, then display reversed order.
Ask for password. Max 3 attempts using Do While . If wrong after 3 attempts, disable the login button. visual basic 6.0 practical exercises pdf
Display all even numbers between 1 and 50 in a ListBox using a loop. Exercise Set 4: Arrays & Lists 13. Student Average Allow entry of marks for 5 subjects into an array. Compute total and average. Display each subject mark and the average. Fill an array with numbers 1–5
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. Max 3 attempts using Do While
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”.
Use text boxes and a button to insert a new record into the Access database using Recordset.AddNew .