Application Programming with VB.
Net
Mr Fred Omondi
GROUP 9
1. Redemptor Okong’o 18/05761 BIT
[Link] kuyioni 22/08413 BIT
3. Ann Makio 24/09223 BIT
4. Christopher Muiruri 21/05845 BIT
5. Nathan Kiptoo 22/02267 BIT
6. Michelle Sangura 24/03053 BIT
1
1. With the aid of examples, explain 50 terminologies as used in the world of visual
programming.
Term Explanation Example
IDE Integrated Development [Link] IDE
Environment
Form A window or screen in a GUI Form1 in [Link]
Control UI elements placed on a form Button, TextBox
Property Attributes of a control Text, BackColor
Event Actions triggered by user Click, Load
interaction
Method Function associated with an Show(), Close()
object
Object Instance of a class Button1 is an object
Class Blueprint for creating objects [Link]
Namespace Logical grouping of classes [Link]
Toolbox Panel with controls Contains Button, Label
Designer Visual layout editor Drag-and-drop controls
Code Window Where code is written [Link]
Solution Shows project files Lists .vb, .resx files
Explorer
Project Collection of files [Link]
Solution Container for projects [Link]
Label Displays text [Link] = "Hello"
Button Clickable control [Link]
TextBox Input field [Link]
ComboBox Dropdown list [Link]("Item")
ListBox List of items [Link]
CheckBox Toggle option [Link]
RadioButton Select one option [Link]
GroupBox Container for controls Holds RadioButtons
Panel Container for layout [Link](...)
PictureBox Displays images [Link]
Timer Executes code at intervals [Link]
ProgressBar Shows progress [Link]
TrackBar Slider control [Link]
TabControl Tabbed interface TabPage1, TabPage2
MenuStrip Menu bar File > Open
ToolStrip Toolbar Icons for actions
StatusStrip Status bar [Link]
Dialog Box Popup window OpenFileDialog
OpenFileDialog File selection dialog [Link]()
SaveFileDialog Save file dialog [Link]()
FontDialog Font selection [Link]
ColorDialog Color picker [Link]
Event Handler Code responding to events Button1_Click()
Debugger Tool to find errors Breakpoints
2
Breakpoint Pauses execution Set in code window
Exception Runtime error Try...Catch
Try...Catch Error handling Try { } Catch { }
Loop Repeats code For, While
Conditional Decision making If...Then...Else
Variable Stores data Dim x As Integer
Data Type Type of variable Integer, String
Array Collection of items Dim arr(5) As Integer
Function Returns a value Function Add(x, y)
Subroutine Performs action Sub ShowMessage()
Inheritance Reuse of classes Class Child Inherits Parent
Encapsulation Hiding details Private members
Polymorphism Multiple forms Overriding methods
2. With the aid of a diagram, explain the components of [Link] IDE window.
Menu Bar – Access to File, Edit, View, etc.
Toolbox – Contains controls like Button, Label, etc.
Form Designer – Visual area to design the UI.
Solution Explorer – Displays project structure.
Properties Window – Shows properties of selected control.
Code Editor – Where you write [Link] code.
Output Window – Shows build and debug messages.
Error List – Displays compilation errors.
diagram to illustrate this.
Here’s the diagram showing the [Link] IDE window components. It highlights key areas
like the Toolbox, Form Designer, Solution Explorer, and Code Editor to help you
visualize how everything fits together.
3
3. Explain any 50 controls that can be used to create graphical user interface in vb
environment.
Control Purpose
Button Executes actions when clicked
Label Displays static text
TextBox Accepts user input
ComboBox Dropdown list
ListBox Displays a list of items
CheckBox Allows multiple selections
RadioButton Allows single selection
GroupBox Groups related controls
Panel Container for layout
PictureBox Displays images
ProgressBar Shows progress
TrackBar Slider control
TabControl Tabbed interface
MenuStrip Menu bar
ToolStrip Toolbar
StatusStrip Status bar
RichTextBox Text input with formatting
DateTimePicker Select date/time
MonthCalendar Calendar view
Timer Executes code periodically
DataGridView Displays tabular data
TreeView Hierarchical data
ListView Detailed list view
WebBrowser Displays web pages
SplitContainer Divides form into panels
FlowLayoutPanel Auto-arranges controls
TableLayoutPanel Grid-based layout
NumericUpDown Number input
DomainUpDown Predefined list input
HScrollBar Horizontal scroll
VScrollBar Vertical scroll
OpenFileDialog File selection dialog
SaveFileDialog Save file dialog
FontDialog Font selection
ColorDialog Color picker
NotifyIcon System tray icon
ToolTip Shows hints
ErrorProvider Displays error icons
MaskedTextBox Input with format mask
CheckedListBox List with checkboxes
LinkLabel Clickable hyperlink
ContextMenuStrip Right-click menu
PropertyGrid Displays object properties
PrintDialog Print setup
4
PrintPreviewDialog Preview before printing
PrintDocument Handles printing
BackgroundWorker Runs tasks in background
BindingNavigator Navigation for data
BindingSource Data binding source
Panel Layout container
UserControl Custom reusable control