Use four CommandButtons (Red, Green, Blue, Yellow). Clicking each changes the Form’s background color accordingly.
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”. visual basic 6.0 practical exercises pdf
Use three OptionButtons (Red, Yellow, Green). Based on selection, display a message: “Stop”, “Ready”, or “Go”. Use four CommandButtons (Red, Green, Blue, Yellow)
Ask the user how many numbers they want to enter. ReDim an array accordingly. Input values and show their sum. Exercise Set 5: Procedures & Functions 17. Function: Celsius to Fahrenheit Create a function CtoF(C) that returns Fahrenheit. Call it from a button click. Use four CommandButtons (Red