Example program 1 -
Birthday Program
The code for the program below will allow the user to enter
their name, select the day of the week that their birthday
falls on this year and then choose the month of their
birthday from the list box. When they click the button it
should display all the information back to them.
Interface
Code when btnBirthday clicked
MessageBox.Show("Hello " & txtName.Text & vbNewLine & "Your birthday month is " &
lstMonth.Text &
" and the day of the birthday this year is " & cmbDay.Text)
This is what happens when the button is clicked: