Microsoft Visual Studio
Examples of controls exercise
Harder than average exercise

This Microsoft Visual Studio EXAMPLES OF CONTROLS exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl VISUAL BASIC 2005 WINDOWS FORMS course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Exercise: Form to display appropriate web site for gender

A full answer to this exercise is provided as part of the training course!

1) Create a form called frmWebSite, which contains a ComboBox and a WebBrowser control.  When you choose your gender, an appropriate web site should appear:
Exercise screen-shot 1221 A nice rugged web site for boys
2) The code you could attach to the ComboBox is shown below:
Exercise screen-shot 1222 Some of this may not make sense yet
3) Check that your form works, then close it down.

Thank you for showing an interest in this Visual Basic 2005 Windows Forms training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.

All content copyright Wise Owl Business Solutions Ltd 2008.  All rights reserved..