If.. .Then decision structures 535
Form_Load procedure, 63, 87
Format function, to display
commas, 137
formatting
database data on forms, 466
predefined patterns for, 164.
See also masks
program statements, 53
text, 15
Formatting toolbars, 499–500
forms
accessing Help files for, 28
adding navigation controls to, 466
adding to programs, 351–56, 373
anchoring objects on, 368–71, 374
changing transparency of, 388–90
controls, adding at run time,
364–67, 374
creating bound objects capable of
displaying dataset data on, 466
creating with code, setting
properties, 374
displaying additional, using event
procedures, 356–57
docking objects on, 368–71
files, saving, 65
formatting database information
on, 466
hidden, opening, 373
inherited, customizing,
397–99, 412
minimizing, maximizing, and
restoring, 364, 374
opening, 10, 357
positioning on Windows desktop,
359–64
public variables vs. variables
in, 255
startup, 371–74
transparency, changing, 391
uses for, 352
variables in projects with
multiple, 140
formulas
creating, 157
defined, 143
parentheses in, 156–57
frames, creating, 81
Framework. See .NET Framework
Framework Math program, 153–55
FromFile method, 83, 87, 187, 237
front ends, database, 439
FullOpen property, 114
Function procedures
calling, 258, 271
defined, 255
overview, 256
syntax items in, 257–58
function statements, 257
functions
defined, 133
InputBox, 131–32
LBound, UBound, 280
MsgBox, 133
performing calculations with
(win rate example), 258–61
public, creating, 270
syntax items, using, 257–58
with more than one
argument, 133
G
GDI+ graphics services, changing
form transparency, 376, 388
general-purpose procedures, 256
global counter variables, 140,
190–91
graphics
printing, 418, 437
resizing, 49
Graphics Interchange Format ( .gif).
See .gif files
Graphics .DrawImage
method, 418, 437
Graphics .DrawString method,
420–23, 437
Graphics .MeasureString
method, 424
greater than operator (>), 161, 331
greater than or equal to operator
(>=), 161, 331
GridColor property, 386
grids
aligning objects to, 42
cell color, changing, 480–81
gridline color, changing, 481, 489
hidden by default, 42
reversing direction of
sort, 489
snapline, 42
sorting records in, 489
GridView control, 512–15
group boxes, property settings,
table of, 83
GroupBox control, 81–82
guide diamonds, 17
H
Height property, 386
Hello World program
creating, 68
folder location, 72
overview, 67
running, 72–73
Help files
accessing, 28, 34
customizing, 34
F1 key, 26–27
managing settings, 25–26
MSDN, 27–28
navigating, 28
topic locations in Visual
Studio 2010, 28
Help Library Manager, 25–26
hidden forms, opening by using
program code, 373
hiding
declared variables in classes, 412
forms, 373
shortcut keys, 118
tool windows, 21, 34
Hour (date) method,
description, 107
HTML
controls described, 493
controls overview, 494
creating pages, 522
displaying during debugging
sessions, 215
tags, 501
viewing for Web pages, 500, 522
visualizers, 220
Hungarian Naming
Convention, 130
HyperLink control, 516, 522
hyperlinks, adding, 516–17
I
IBM extended character set, 330
icons
file type, 112
pin, 215
shortcut, 61
IDE
accessing Help files for, 28
changing compiler settings for,
29–30, 34
component tray, 98
Data Source Configuration
Wizard, 445
Navigator, 22–23
overview, 4
running commands from
Command Window in, 226
running Visual Basic from, 58
toolbars available in, 8
If... Then decision structures
conditional expressions using,
161–62
in Checkbox controls, 80
logic errors in, 211