JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Index

F

FieldCount property
OleDbDataReader class, 948
SqlDataReader class, 950
fields, OOP (Object-Oriented Programming), 482
File & Directory classes, 574–576, 603–604. See also Directory class; File class; file handling.
Copier coding example, 574–576
Copy method, 575, 603
CreateDirectory method, 574, 603
SubString method, 575
File class, 601–602. See also Directory class; file handling.
AppendText method, 601
Copy method, 601
Create method, 601
CreateText method, 601
Delete method, 601
Exists method, 601
GetAttributes method, 601
GetCreationTime method, 601
GetLastAccessTime method, 601
GetLastWriteTime method, 601
Move method, 601
Open method, 601
OpenRead method, 602
OpenText method, 602
OpenWrite method, 602
public class (shared) methods, 601–602
SetAttributes method, 602
SetCreationTime method, 602
SetLastAccessTime method, 602
SetLastWriteTime method, 602
file extensions, building VB .NET applications, 29
file handling, 568–576, 590–604
BinaryReader class, 572–574, 598–601
BinaryWriter class, 572–574, 597–598
Directory class, 574–576, 602–603
File class, 574–576, 601–602
FileStream class, 568–569, 590–591
overview, 568
StreamReader class, 569–572, 595–597
StreamWriter class, 569–572, 593–595
FileAccess enumeration, FileStream class, 591–592
FileMode enumeration, FileStream class, 591
FileName property
ImageList class, 442
OpenFileDialog class, 384, 406, 407
SaveFileDialog class, 384, 409
FileNames property
ImageList class, 442
OpenFileDialog class, 406, 407
SaveFileDialog class, 409
FileOK event
OpenFileDialog class, 407
SaveFileDialog class, 409
FileShare enumeration, FileStream class, 592
FileStream class, 568–569, 590–591. See also file handling.
BeginRead method, 590
BeginWrite method, 590
CanRead property, 590
CanSeek property, 590
CanWrite property, 590
Close method, 590
constructors, 592–593
EndRead method, 590
EndWrite method, 590
FileAccess enumeration, 591–592
FileMode enumeration, 591
FileShare enumeration, 592
Flush method, 590
Handle property, 590
IsAsync property, 590
Length property, 590
Lock method, 590
Name property, 590
opening or creating files, 592–593
Position property, 590
public methods, 590–591
public properties, 590
Read method, 590
ReadByte method, 591
Seek method, 569, 591
SetLength method, 591
StreamWriter class, 594
StreamWriterReader coding example, 593
Unlock method, 591
Write method, 591
WriteByte method, 591
Fill method
DataAdapter class, 944
datasets, 871
DbDataAdapter class, 944
OleDbDataAdapter class, 933, 945
Server Explorer, 844
SqlDataAdapter class, 946
FillClosedCurve method, Graphics class, 578
FillEllipse method, Graphics class, 578
FillError event, DbDataAdapter class, 944
filling in 2D figures, 567–568, 585–586. See also Brush class; Graphics class.
FillPath method, Graphics class, 578
FillPie method, Graphics class, 578
FillPolygon method, Graphics class, 578
FillRectangle method, Graphics class, 578
FillRectangles method, Graphics class, 578
FillRegion method, Graphics class, 578
FillSchema method
DataAdapter class, 944
DbDataAdapter class, 944
Filter property
OpenFileDialog class, 383–384, 406, 407
SaveFileDialog class, 409
FilterIndex property
OpenFileDialog class, 406
SaveFileDialog class, 409
filtering exceptions, Catch blocks, 148–149
Finalize method, creating destructors, 487, 519
Finally statements, structured exception handling, 145, 146, 151
financial data, 107
Find method, RichTextBox class, 230
FindControl method, System.Web.UI.Control class, 660
FindForm method, Control class, 211
FindString method
CheckedListBox class, 309
ComboBox class, 293, 315
ListBox class, 291, 296
FindStringExact method
CheckedListBox class, 309
ComboBox class, 293, 315
ListBox class, 291, 296
FinishedCounting event
SynchronizeThreads coding example, 1032
Thread class, 1049
Threading coding example, 1025, 1026
FinishedCountingEventHandler Sub procedure, Threading coding example, 1026–1027
FirstDayOfWeek property
Calendar class, 794
MonthCalendar class, 366
FirstNode property, TreeNode class, 445
FirstVisibleColumn property, DataGrid class, 914
Fish class, Inheritance coding example, 528–529
fixed-length strings, String class, 87
FixedPitchOnly property, FontDialog class, 411
flat databases, 835. See also databases.
FlatMode property, DataGrid class, 914
FlatModeChanged event, DataGrid class, 916
FlatStyle property
Button class, 252, 256, 268
CheckBox class, 252, 273
Label class, 239
RadioButton class, 277
Flow layout mode, creating Web applications, 10, 619
FlowLayout, Web forms, 645
Flush method
BinaryWriter class, 597
FileStream class, 590
StreamReader & StreamWriter classes, 570
StreamWriter class, 594, 595
Fn keys, SendKeys key codes, 204
focus, resetting after button click, 264–265
Focus method
Button class, 264–265
Control class, 211
Form class, 159
Focused property
ComboBox class, 314
Control class, 210
Form class, 157
FocusedItem property, ListView class, 451
Font objects, RichTextBox class and, 233
Font property
Button class, 258–259
Control class, 210
FontDialog class, 385, 410, 411, 412
Image class (WebControl class), 744
Label class, 240
ProgressBar class, 471
StatusBar class, 466
Web server controls, 672–673
WebControl class, 661
FontChanged event, Control class, 212
FontColor property, FontDialog class, 412
FontDialog class, 384–385, 410–412. See also Control class; dialog boxes.
AllowSimulations property, 411
AllowVectorFonts property, 411
AllowVerticalFonts property, 411
Apply event, 411
Color property, 410, 411, 412
FixedPitchOnly property, 411
Font property, 385, 410, 411, 412
FontColor property, 412
FontMustExist property, 411
HelpRequest event, 411
MaxSize property, 411
MinSize property, 411
public events, 411
public methods, 411
public properties, 411
Reset method, 411
ShowApply property, 411
ShowColor property, 411
ShowDialog method, 385, 411
ShowEffects property, 411
ShowHelp property, 411
FontMustExist property, FontDialog class, 411
footer templates, WebRepeaters coding example, 995–996
FooterStyle property
DataGrid class, 998
DataList class, 1002
FooterTemplate property
DataList class, 1003
Repeater class, 1005
For Each...Next loops, 101. See also loops.
For loops, 99–100. See also loops.
Exit For keyword, 99
index variable, 99
ForeColor property
BaseValidator class, 782
Button class, 258
Control class, 210
DataGrid class, 914
Form class, 157
ProgressBar class, 471
TextBox class, 220
TrackBar class, 359
WebControl class, 661
ForeColorChanged event
Control class, 212
Form class, 160
foreign keys, databases, 835
Form1 window, creating Windows applications, 4–5
Form1.vb, Web services, 1098–1101
Form1_Load event, ParentChildData example, 921
Form class, events, 160–161
Format event, Binding class, 907
Format function
converting expressions to strings, 88
dates and times, 105, 106
Format property, DateTimePicker class, 362, 364–365
FormatChanged event, DateTimePicker class, 362
FormBorderStyle property
dialog boxes, 191
Form class, 157
PrintPreviewDialog class, 420
Form_Load event, Web forms, 644
ActiveForm property, 156
adding controls to, 162–164
adding and removing controls at runtime, 196–197
always-on-top, 197
Anchor property, 196
Beep function, 205
borders, 155, 171
changes in controls from Visual Basic 6.0, 163–164
client area, 155
coding example, 166–169
communicating between via properties, 184–185
Control class, 207–477
control tab order, 171
ControlBox property, 157, 170
creating, 162
Data Form Wizard, 895–902
dialog boxes, 191–194, 382–389, 405–425
Dock property, 196
dragging items to, 5
dragging tables from Server Explorer to, 860
event handling, 164–165
Form class, 154, 155–156
FormBorderStyle property, 171
Hide method, 159, 175
HtmlForm class, 807, 820
inherited, 197–198
InitializeComponent procedure, 166, 167
InputBox method, 180–181
keyboard events, 201–203
linking to via LinkLabel class, 245–246
Location property, 158, 172
MaximizeBox property, 158, 170
MDI (Multiple Document Interface), 161–162, 186–190
Me keyword, 169
menu bars, 155
MessageBox.Show method, 177–179
MinimizeBox property, 158, 170
minimizing/maximizing via WindowState property, 195–196
mouse events, 199–201
moving, 172
MsgBox function, 175–177
multiple, 181–184
New method, 166
New Project dialog box, 162
overview, 154–161
owned, 194–195
passing to procedures, 195
public object events, 160–161
public object methods, 159
public object properties, 157–158
sending keystrokes to alternate programs, 203–205
SendKeys function, 203–205
SetBounds method, 159, 172–174
Show method, 159, 175
showing/hiding, 174–175
Size property, 158, 172
sizing, 172
StartPosition property, 158, 172
startup, 185
System.Windows.Forms namespace, 154
TabIndex property, 171
TabStop property, 158, 171
Text property, 163–164, 170
title bar text, 170
title bars, 155
toolbars, 155
TopMost property, 158, 197
user controls, 1014–1024
Visible property, 158, 174
Web. See Web forms.
WindowState property, 158, 195–196
Friend keyword
access modifiers, 526
Const statements, 70
Dim statements (creating objects), 494
Dim statements (declaring variables), 74
Event statements, 510
inheritance, 544–545
Module statements, 501
OOP (Object-Oriented Programming), 481, 482
scope, 116
statements, 64
Structure statements, 497
Sub procedures, 123
FromArgb method, Color structure, 580
FromFile method
PictureBox class, 327
scrolling images, 350
FromHwnd method, Graphics class, 577
FromImage method, Graphics class, 577
FromPage property, PrintSettings class, 416
FullOpen property, ColorDialog class, 413
FullPath property, TreeNode class, 445
FullRowSelect property
ListView class, 451
TreeView class, 443
functions, 113–114, 125–126. See also procedures.
creating, 125–126
data type conversion, 81
defined, 66
financial data, 107
Function keyword, 113
Function statement, 125
math, 103–105
Return statement, 113–114, 126
SELECT statement, 858
String class, 86
type checking, 82
type item, 126
Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor