Satellite resources, 758–59
Save
bitmaps, 641–42
files, 11
Graphics object, 562, 577–79
Image, 639
Import/Export Settings, 39
My.Settings, 751
Registry values, 745
Save All, 11
SaveFile, 972
SaveFileDialog, 265, 273, 973–74
Save Form1.vb, 11
Save Form1.vb As, 11
SaveMruList, 300
Savepoints, 330
SaveSetting, 745
Save TemporaryMacro, 40
SByte data type, 132, 138
Scale
DrawImageUnscaled, 554
graphical transformations, 567–79
LinearGradientBrush, 596
PageScale, 562
Scale, Form, 1017
ScaleTransform, 563, 567–79, 585, 593, 596
TextureBrush, 593
ScaleTransform, 567–79
Graphics object, 563
LinearGradientBrush, 596
PathGradientBrush, 601
Pen, 585
TextureBrush, 593
XAML, 714
S character, 135
Schema
database, 316–18
Schema Editor, 317
Scope
block scope, 156–57
defined, 131, 156
limiting, benefits of, 158
module scope, 158
procedure scope, 157–58
Screen
Full Screen, 15
My.Computer.Screen, 1073–74
PointToScreen, 1016
screen coordinates, 1017
splash screen, 282–83
Script Explorer, 30
Scroll, 987
AutoScroll, 980
Scrolling mode, 729
ScrollToCaret, 972, 987
Scroll bars
HScrollBar, 263, 269, 272, 925
ScrollBars, 970
ScrollControlIntoView, 1017
VScrollBar, 266, 269, 272, 998
See also Auto Scroll
Secondary windows, rearranging, 52–53
Secret-key encryption, 841
Security
certificate authority, 391
cryptographic operations, 841–45
signature authority, 390–91
strongly named assemby, 389–90
See also Passwords;
User Account Control (UAC) security
Seek
BinaryWriter, 774
within file, 783
Streams, 771
Select
DataTable, 343
Select Active Test Run Configuration, 48
SelectCommand, 331, 336
SelectNextControl, 1017
Select Thaw, 29
Select Case
and block scope, 157
CaseElse, 889
compared to Choose, 217–18
comma-separated expressions, 213–14, 888–89
control functions of, 210–14
and enumerated types, 214–15
compared to If Then, 211–12
Is keyword, 213
To keyword, 212
syntax for, 210–11, 888
SendToBack, 35, 1017
Separated validation, 101–2
Sequential-file access, 784–85
methods, 784–85
Serializable class
NonSerializedAttribute, 193
Serializable, 193
Serializable objects, 404–5
SerialPort
control, 265
events, 1071
methods, 1070
online help about, 974
properties, 1069–70
ServerVersion, 324
Service contract, Windows Communication Foundation (WCF), 824, 825–27
ServiceController, 265, 974–75
Service-oriented architecture (SOA), 823
See also Windows Communication Foundation (WCF)
ServicePack, 743
Set, 511
SetAllCursors, 285
SetAttr, 784
SetAttributes, 790
SetAudio, 412
SetBlendTriangularShape
LinearGradientBrush, 596
PathGradientBrush, 601
SetBounds, 1017
SetClip, 563
SetColumnError, 346
SetCreationTime, 788, 790
SetCreationTimeUtc, 788, 790
SetCurrentDirectory, 788
SetData, 412
SetDataObject, 410–12
SetDesktopBounds, 1017
SetDesktopLocation, 1017
SetEnvironmentVariable, 744
SetFileDropList, 412
SetImage, 412
SetLastAccessTime, 788, 790
SetLastAccessTimeUtc, 788, 790
SetLastWriteTime, 788, 790
SetLastWriteTimeUtc, 788, 790
SetLength, 771
SetLineCap, 585
SetMeasurableCharacterRanges, 619, 628–30
SetNextStatement, 68
SetParentRow, 346
SetPixel, 640, 646–48
SetRange, 505
SetResolution, 640
SetSigmaBellShape
LinearGradientBrush, 596
PathGradientBrush, 601
SetSuspendState, 765
SetTabStops, 619, 623–24
SetText, 412
Settings
AllUsersApplicationData, 801
CurrentUserApplicationData, 801
defined, 106
editing from property pages, 108
GetSetting, 300
Import/Export Settings, 39
My.Settings, 739, 751
System Registry, 744–46
SetValue, 747
Shadows
classes, 434
and classes, 442–43
classes, 1023
events, 468, 1026
function of, 194, 442
multiple variable declarations, 153
parent features, 378–79
subroutines, 194
variable declarations, 142–44, 873
Shaped forms, creating, 281–82
Shared
and constants, 166
methods, 475–77
multiple variable declarations, 153
subroutines, 194
variable declarations, 141–42, 474–75, 873
Short-circuit evaluation, 175
Shortcuts
array objects. See Object arrays
IDE menus, 9
keyboard shortcuts, 44
My namespace, 738–39
Short data type, 132, 135, 138
Show, 44, 1017
Show All, 54
Show All Files, 16
Show Data Sources, 34
ShowDialog, 1017
ShowHelp, 952, 955, 959
Show Hidden Files, 105
ShowIcon, 1014
ShowInTaskbar, 1014
ShowNetwork, 955, 959
Show Next Statement, 68
ShowValues, 328
Side effects
defined, 175–76, 210
and If Then, 210
Signing
security method, 841
Signature authority, 390–91
Signed Assembly, building, 389–91
Simulations, AllowSimulations, 921
SingleBitPerPixel, 551
SingleBitPerPixelGridFit, 551
Single data type, 132, 135, 138
Single data type, data type character (!), 134
Single-document interface (SDI), 46, 292–93
examples of, 293
compared to MDI, 298–99
Single page mode, 729
Size
Form, 93–94, 1014
Image, 639
SizeGripStyle, 1014
Size to Grid, 35
System.Drawing, 545
See also Resize
Slider, 1003
Smart Tags, 46
SmoothingMode
actions of, 563–64
Graphics object, 563
Snippets. See Code snippets
Software, My.Computer, 739
SolidBrush
actions of, 592–93
System.Drawing, 544
Solution(s)
Close Solution, 11
defined, 4, 106
program files, viewing, 4
Solution Explorer
Application tab, 108
Assembly Information, 108–9
Compile tab, 114–15
controls, creating, 74–76
database building, 316–18
functions of, 8
hidden files, 105–9
icons, 285–86
project/solution related files, 4
project solutions, example, 105–6
Resources tab, 108
windows, rearranging, 52–53
Sort
ArrayList, 505
arrays, 500–503
Crystal Reports groups, 684
DataView, 356
ListBox, 928
ListView, 376–78, 935–38
Query Builder, 335
SortedDictionary, 527
SortedList, 520–21, 527
Sort Items Alphabetically, 54
toolbox items, 54
Source, 244
Source Control, 46
Source Safe, 46
Spaghetti code, 232
SpecialDirectories, 799
Splash screens, 282–83
Timer, 283
Splitting
Split command, 48
SplitContainer, 265–67, 975–76
Splitter, 265, 977
SplitterContainer, 93
windows, 48–50
SQL Server database, 312, 322, 324
Add Connection, 313
SQL Statements, 333–35
Stack(s), 521–23
Call Stack, 29
Clear, 522
Collection classes, 521–23
constructors, 523
Contains, 522
CopyTo, 522
Count, 522
defined, 521
LIFO return, 521–23
memory management, 523
popping item off of, 522
properties, 522–23
pushing item onto, 522
stacking order controls, 92
and structures, 453
System.Collections.Generic namespace, 527
StackTrace
error handling, 244–48
execution position, display of, 246–48
limitations of, 244
objects, 246–48
System.Environment, 743
Standard Windows, 14
StartCap, 585
StartFigure, 610
StartPosition, 1014
Start Selected Test Project with Debugger, 47
Start Selected Test Project without Debugger, 47
StartupPath, 764
State, 324
StateChange, 327
Statements
code module section, 110
conditional compilation statements, 112–21
decision statements, 207–18
defined, 203
Immediate window execution of, 33–34
looping statements, 218–34
and subroutines, 203–4
Static
and constants, 166
variable accessibility, 141
StatusStrip, 265, 271, 977–78
Step Into, 25
Step Out, 25, 68
Step Over, 25, 68
Stop Debugging, 25
Stop Into, 68
Storyboard, 717
Streams
BinaryReader helper class, 773–74
BinaryWriter helper class, 774
BufferedStream, 773
classes, 1077–78
console streams, 1082
CryptoStream, 779
defined, 769
FileStream, 771–72
MemoryStream, 772
methods, 1078–79
NetworkStream, 779
properties, 1078
Stream, properties/methods of, 770–71
StreamReader, 777–79, 801
StreamWriter, 777–79
StringReader, 776–77
StringWriter, 776–77
and TextReader, 775
and TextWriter, 775
StretchImage, 642, 956
Strings
BinaryReader methods, 774
breaking, 129
composite formatting, 1052
concatenation operators, 172
Connection String, 324–25
data type, 134, 138
data type character ($), 134
data type parsing, 139
DrawString, 244, 555, 616–17
MeasureString, 562, 627–30, 664
Option Compare, 21
regular expressions, 836–39
StringBuilder, 179–81
StringCollection, 507
StringDictionary, 519
StringFormat, 618–19, 1038
StringReader, 776–77, 1082
StringWriter, 776–77, 1082
ToString, 165, 244
WriteAllText, 801
Strongly named assembly, 389–90, 505
Strongly typed collections, 507–10
read only, 510
Structure(s), 449–56
boxing and unboxing, 456
compared to classes
constructors, 458–59
data type, 133
declaring, syntax for, 449, 1024
implements interface, 449–50
instantiating, 458–60
memory requirements, 450–53
namespaces, 487–88
object assignment, 453–54
parameter passing, 454–55
stack and heap performance, 453
System.Drawing, 545
as value types, 450
Structured error handling, 257–58
compared to classic method, 257–58
Try, 241–43, 257–58, 893
Styles, 709–10
XAML, 711
Subdirectory
CreateSubdirectory, 792
GetDirectories, 788, 800
IncludeSubdirectories, 795
SubItems, 85–86
Subkeys
CreateSubKey, 747
DeleteSubKey, 747
GetSubKeyNames, 747
RegistryKey properties, 747–48
SubKeyCount, 747
Subroutines, 189–204
accessibility clause, 194–95
attribute_list, 190–93
code module section, 110
defined, 189
delegates, 167–69
Immediate window execution of, 33
implements interface, 202–3
inheritance_mode, 193–94
parameters, 195–202
statements, 203–4
subroutine_name, 195
syntax for, 189, 885
Subtraction operator (-), 172, 177
Suggestion indicator, 62–63
SurroundColors, 602
SvcUtil, 830–31
Switch To Thread, 29
Symbols, Find Symbol, 12
Symmetric cryptography, 841
SystemColorsChanged, 1022
SystemDefault, 551
SystemDirectory, 743
System.Drawing
classes, 544–45, 1029–30
enumerations, 1029–30
structures, 545
System.Drawing.Drawing2D
classes, 545–46, 1030–31
enumerations, 546–48, 1030–31
System.Drawing.Imaging
classes, 549–51, 1031
enumerations, 551
System.Drawing.Printing, classes, 553, 1032
System.Drawing.Text, classes, 550
System.IO.File, methods, 1083
System namespace, second-level namespaces, 836–36
System Registry, 744–48
accessing, 745
CommonAppDataRegistry, 763
deleting values, 746
functions of, 744
GetSetting, 300
My.Computer.Registry, 746–48, 1071–72
RegistryKey, 1072
retrieving values, 745–46
saving values, 745
subtrees of, 744
UserAppDataRegistry, 764
System.Security, cryptographic operations, 841–45
System tray, notification icons, 286–87
System.Xml namespace, 839–41