0% found this document useful (0 votes)
31 views5 pages

Application Programming With VB

programming

Uploaded by

seyiafelister
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views5 pages

Application Programming With VB

programming

Uploaded by

seyiafelister
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Application Programming with VB.

Net
Mr Fred Omondi
GROUP 9

1. Redemptor Okong’o 18/05761 BIT


2.Felister 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 VB.NET IDE
Environment
Form A window or screen in a GUI Form1 in VB.NET
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 System.Windows.Forms.Button
Namespace Logical grouping of classes System.Drawing
Toolbox Panel with controls Contains Button, Label
Designer Visual layout editor Drag-and-drop controls
Code Window Where code is written Form1.vb
Solution Shows project files Lists .vb, .resx files
Explorer
Project Collection of files MyApp.vbproj
Solution Container for projects MySolution.sln
Label Displays text Label1.Text = "Hello"
Button Clickable control Button1.Click
TextBox Input field TextBox1.Text
ComboBox Dropdown list ComboBox1.Items.Add("Item")
ListBox List of items ListBox1.Items
CheckBox Toggle option CheckBox1.Checked
RadioButton Select one option RadioButton1.Checked
GroupBox Container for controls Holds RadioButtons
Panel Container for layout Panel1.Controls.Add(...)
PictureBox Displays images PictureBox1.Image
Timer Executes code at intervals Timer1.Tick
ProgressBar Shows progress ProgressBar1.Value
TrackBar Slider control TrackBar1.Value
TabControl Tabbed interface TabPage1, TabPage2
MenuStrip Menu bar File > Open
ToolStrip Toolbar Icons for actions
StatusStrip Status bar StatusLabel.Text
Dialog Box Popup window OpenFileDialog
OpenFileDialog File selection dialog OpenFileDialog1.ShowDialog()
SaveFileDialog Save file dialog SaveFileDialog1.ShowDialog()
FontDialog Font selection FontDialog1.Font
ColorDialog Color picker ColorDialog1.Color
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 vb.net 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 VB.NET code.
 Output Window – Shows build and debug messages.
 Error List – Displays compilation errors.

diagram to illustrate this.

Here’s the diagram showing the VB.NET 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

You might also like