Question

(C Programming Language) (MULTIPLE FORMS – HAPPY BIRTHDAY MESSAGE) Write a Visual Basic program to request...

(C Programming Language) (MULTIPLE FORMS – HAPPY BIRTHDAY MESSAGE)

Write a Visual Basic program to request a date in the form of mm/dd/yyyy. If your date of birth is entered, display on a second Form the message

                                                BEST DATE IN HISTORY !

                                                HAPPY BIRTHDAY TO ME !!

For any other date, display on a third Form the message

                                                Just Another Day.

                                                No Big Deal.

Demonstrate your working program for the Instructor. Include a commented listing with your signed-off lab sheet. Include the program for each Form.

Homework Answers

Answer #1

form 1

//place a label1 with visibilty off and diclare it with the required date

//place necessray labels,text boxes and buttons

//enter the required date in textbox1 and press button1(of form1).

//on the click event of button1 write the following code

if label1.text=text1.text then

form2.show()//which displays BEST DATE IN HISTORY ! HAPPY BIRTHDAY TO ME !! as label1.text of form2

else

form3.show()//which displays Just Another Day No Big Deal as label1.text of form3

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT