Visual Basic

Introduction - Mini Programs

techthings.ca ~ Floyd

Instructions:


1 – Create a program that has a Button and a PictureBox.  The picture will appear when the user clicks on the button.

  • Name all objects properly
  • Adjust the sizemode property of the PictureBox to StretchImage

Call the program:  picturebox_lasnamefirstinitial

Click on the link below if you'd like help with this program:

Video Tutorial Link for PictureBox Program

2 – Create a program that uses a PictureBox as a button (you do not need to add a button to the form).  The PictureBox will bring up a label that tells the user something.

Call the program:  pictureboxbutton_lastnamefirstinitial

Click on the link below if you'd like help with this program:

Video Tutorial Link for PictureBox Button Program

3 – Create a program that has three timers.  One timer will be activated when a button is pressed and will make another button appear in 5 seconds. 

  • The second timer will be activated in the newly visible button and will make a label appear in 5 seconds that will tell the user something. 
  • The third timer will be activated in the second timer’s procedure.  It will make a label appear in 10 seconds that will also tell the user something.
  • Add a close button to the form.


Call the program:  timers_lastnamefirstinial