Create a Splash Screen
- Design your screen in terms of a suitable image and a heading, using a picturebox and a label.
- Add a progress bar to your form from the toolbox.
- Double-click on the form (not the progress bar). This code will run when the form is first opened.
- Set the value of the progress bar to 0. [pbrProgress.Value = 0].
- Add a timer to your form.
- Make sure you rename all your objects (screen elements) using appropriate naming conventions (prefixes).
- Set the timer interval property – remember an Interval of 1000 is approximately 1 second.
- Set the timer enabled property to TRUE.
- Double-click on the timer. This code will run repeatedly every interval.
- Increment the progress bar. [pbrProgress.Value = pbrProgress.Value + 10]. Note the value you increment by (here I’ve used 10), will be how much it increases by at once.
Once you have created the Splash screen you may move on to the theory work (some of which MUST be completed for homework); or you may attempt a task from the VB.NET tasks available. Some of you may have completed some of these tasks in Year 10. If so, you may skip tasks you’ve already done.
Posted by sebrown