Example Program 1 VB
Example Program 1 VB
Example Program 1 VB
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
MessageBox.Show("Hello " & txtName.Text & vbNewLine & "Your birthday month is " &
lstMonth.Text &
" and the day of the birthday this year is " & cmbDay.Text)