Index

Symbols

= (assignment operator), 56

< (Less Than operator), 406

- (minus) operator, 404

+ (plus) operator, 404

A

About forms, viewing, 722

abstract classes, interfaces, 298–299

abstraction, 277

acceptance criteria testing, 106

access

applications, 475–483, 485–498

constants, 199

HTML Help, 781–784

levels, 11

modifiers, 53, 203

records, 613–614

resources, 601–602

software licensing options, 701

accessors, 73

Active Server Pages. See ASP

Add New Data Source link, 348

Add New Item dialog box, 666

AddHandler statements, 263

adding

code to forms, 177–181

colors to reports, 675

controls, 171–177, 246–253, 257

data sources, 348–350, 665

forms, 183–185, 240, 309–312, 418

global variables, 417

headers/footers, 671

HTML Help pages, 779. See also online help

icons, 186

licenses to Library Projects, 716–721

overloaded operators, 414

print preview interfaces, 636

procedures, 69

functions, 71–72

placement of, 74

properties, 72–73

subroutines, 70–71

reports, 666–667, 685–686

built-in, 689–696

schemas, 684

ReportViewer controls, 686-688

resource localization, 606–607

settings to projects, 475–498

shortcuts, 808–811

variable caches, 486–488

Adleman, Len. See RSA algorithm

administration. See management

Administration panel, 434–435

ADO.NET, 129, 340–347

AES (Advanced Encryption Standard), 374

agreements, license, 701–703

algorithms

AES, 374

DES, 373

DSA, 377

encryption, 371

hashing, 372, 377–379

MD5, 378

RSA, 377

ALTER TABLE statement, 122

American Standard Code for Information Interchange. See ASCII

APIs (application programming interfaces), 472

applications

ASP.NET deployment, 793–794

Assembly Linker, 608

configuring

adding settings to projects, 482–491, 493–498

history of, 471–472

VB 2005 new settings system, 473–482

console, 9

design

commonality, 99–100

data and information, 96

needs of users, 95–96

processes, 96–97

project-specific needs, 100

usability, 97–98

Dotfuscator, 703. See also obfuscation

downloading, 825

errors, 318

compile-time, 318

disabling error handling, 323

ignoring, 324

logic, 320–321

managing, 329–334

run-time, 319–320

structured error handling, 324–331

unhandled, 327–328

unstructured error handling, 321–331

installing, 826

Library Project

administrative features, 94

globalization, 597–598, 612–625

item features, 92

overview of, 92

patron features, 93

requirements, 95

lifetimes, 100–101

acceptance criteria testing, 106

approval, 104–105

deployment, 107

distribution, 107

documentation, 102–103

goals, 103

kickoffs, 102

modifying projects, 105

planning, 103

project acceptance, 106–107

software development, 105

support, 107

localization, 597–598

adding resources, 606–607

compiling resources, 608–609

features, 610–611

forms, 602–606

Library Project, 612–625

My.Resources object, 601–602

resource files, 598–601

modules, 300–301

.NET, 163, 473

assemblies, 157–162

deployment, 3

directives, 167–169

lifetimes, 19–20

My namespace, 164–167

online help. See online help

resources, 598

structures, 301

Web development

ASP.NET, 738–747

data validation, 750–752

database integration, 752–754

events, 748

Library Project, 759–769

overview of Internet, 735, 737

programming Internet, 737–738

state/View state, 749–750

XML Web Services, 754–758

Windows Forms, 231–232

adding controls, 246–253, 257

applying, 240–245

controls, 236

delegates, 258–263

design, 236–240

events, 258–263

Library Project, 267–274

messages, 233–234

.NET, 235

viewing, 264–266

WndProc, 234–235

applying

data sources, 351

license files, 709

namespaces (XML), 448

owner draw, 580–585

report controls, 669–670

SQL statements, 355

streams, 503

System.Xml, 449–454

Windows Forms, 240, 243–245

approval, projects, 104–105

architects, 103

arguments, 40, 284

optional, 60, 288

ParamArray, 303–304

sender, 80

subroutines, 70

arrays, 214–215

boundaries, 216–217

multidimensional, 216

ParamArray arguments, 303–304

ASCII (American Standard Code for Information Interchange), 189

ASP (Active Server Pages), 737

ASP.NET, 738–747, 793–794

assemblies

GAC, 15, 158

modules, 300–301

.NET, 15, 157, 159

directives, 167–169

Library Project, 170–186

My namespace, 164–167

reflection, 162

structure of, 159–162

XCopy deployment, 794–795

PIA, 664

private, 157

public, 158

satellite, 608–609

Assembly Linker program, 608

assigning variables, 40, 45, 50–51

assignment operator (=), 56

Assistance Platform (Windows Vista), 773. See also online help

asymmetric cryptography, 376–377

attributes

GDI+, 578

.NET, 16–18

audio, 600

authentication

MAC, 378. See also security

support, 381–384

AutoPostBack property, 748

B

barcodes

design, 820

fonts, 519

GDI+, 585–594

printing, 648–653

support, 828

tables, 146, 150

Base Class Library (BCL), 12

base classes, 279

inheritance, 289–292

private implementation, 280

BaseCodeForm class, 424–433

BCL (Base Class Library), 12

BeginTransaction method, 357

Berners-Lee, Sir Tim, 735

beta versions, 105–106

bi-directional encryption, 372

binary operators, 57, 206, 402

BinaryReader class, 505

BinaryWriter class, 505

binding

data, 130, 352–353

forms, 481–482

bitwise operators, 408–409

black boxes, 279

block-level scope, 204

blocking error-handling, 324

blocks, repeating, 67

Boolean data types, 193

Boolean literals, 44

boundaries, arrays, 216–217

branches, defining code, 62

browsers, 735. See also interfaces

brushes, 555, 559–560

BufferedStream object, 502

bug fixes, 821

building

HTML Help, 774–784

online help files, 785

WinHelp files, 772

BuildXmlLicenseContent method, 713

built-in reports, adding, 689–696

Business Objects. See Crystal Reports

buttons, popup HTML Help, 782

byte streams, 504–506

C

caches

GAC, 15, 158

user settings, 486–488

calls

functions, 40

recursive, 384

Camel Casing, 205

canvases, selecting, 556–557

CAPI (Cryptography API), 379

CAS (Code Access Security), 370

Catch clause, 325–326

Change button, 349

characters

data types, 193

literals, 43

numbers, 189

wildcard, 541

Chart region, 668

ChDir command, 510

ChDrive command, 510

checksums, 372

ciphers

RC2, 373

Triple DES, 374

Class keyword, 282

Class Name drop-down list, 328

Class Name list, 245

classes, 10, 276

ADO.NET, 340–347

base, 279–280

BaseCodeForm, 424–433

BinaryReader, 505

BinaryWriter, 505

Constructors, 202. See also constructors

derived, 279

DESCryptoService-Provider, 373

DSACryptoService-Provider, 377

GraphicsPath, 571–572

HMACSHA1, 378–379

inheritance, 289–292

instances

constructors/destructors, 294–298

creating, 292–293

interfaces, 298–299

libraries, 12–14

MACTripleDES, 378

MD5CryptoService-Provider, 378

members, 283–287

My.Settings, 479–480

nested, 11

.NET, 7

objects, 277

operators, 414

overloading, 281

overriding, 279

RC2CryptoService-Provider, 373

ReportViewer, 664

RijndaelManaged, 374

RSACryptoService-Provider, 377

SecureString, 380

SHA256Managed, 379

SHA384Managed, 379

SHA512Managed, 379

shared members, 287

SignedXml, 714

StreamReader, 505–509

StreamWriter, 505

StringReader, 505

StringWriter, 505

System.Drawing. Graphics, 555

System.Drawing. Printing.Printer-Settings, 632

System.EventArgs, 80

System.Exception, 332

System.Object, 194

TextReader, 505

TextWriter, 505

TripleDESCryptoServiceProvider, 374

Visual Basic, 282

XML, 450–454, 459–469

clauses

Catch, 325–326

Finally, 326–327

SET, 126

Try, 325

WHERE, 126

ClickOnce deployment, 20, 801–803

CLR (Common Language Runtime), 8–10, 42

Codd, Edgar, 115

code

blocks, 67

branches, 62

control systems, 107

databases

communication, 353

establishing connections, 354–357

forms, 177–181

inherited code editors, 424–431, 433

MAC, 378

machine, 38

managed, 8

modules, 300–301

My.Settings, 479–480

.NET projects, 27–34

obfuscation, 703–705

overview of, 38–41

printing, 632–634

procedures

creating, 69

functions, 71–72

placement of, 74

properties, 72–73

subroutines, 70–71

processing, 40

pseudo-code, 38

saving, 186

snippets, 827

spaghetti, 75

tables

editing, 308–309

support, 135–138

Unicode, 189

unmanaged, 8

Code Access Security. See CAS

collections, generics, 530–531

colors, 555, 675

columns, 115, 764

ComboBox control, 305–308

comma-separated values. See CSV files

Command object, 342

commands

ChDir, 510

ChDrive, 510

CurDir, 510

Dir, 510

FileCopy, 511

FileDateTime, 511

FileLen, 511

GetAttr, 511

Kill, 511

MkDir, 511

RaiseEvent, 80

Rename, 512

RmDir, 512

SetAttr, 512

XCopy, 795

comments, 53–54

Commit method, 358

committing database transactions, 357

Common Language Runtime. See CLR

Common Type System. See CTS

commonality, user needs, 99–100

comparison operators, 406–407

compile-time errors, 318

compilers

constants, 168

JIT, 160

object-oriented language, 276

compiling resources, 608–609

conditions, 40, 61

If statements, 61–63

IIF functions, 64–65

Select Case statements, 63

configuration

applications

adding settings to projects, 482–491, 493–498

history of, 471–472

VB 2005 new settings system, 473–482

databases, 153–156, 496–498, 761, 820

default locations, 434–435

forms, 270–273, 488–495

HTML Help, 774–784

instances of classes, 292–298

license files, 708

logs, 515–517

namespaces, 83

objects, 556

procedures, 69

functions, 71–72

placement of, 74

properties, 72–73

subroutines, 70–71

report files (project), 455–463, 465–469

Splash screens, 268

SQL statements, 680–683

tab order, 176

versioning, 182–183

Windows Forms, 236–240

XML

classes, 459–460

forms, 461–463

Connect to a database section, 349

Connection object, 342

connections

databases

ADO.NET, 341

configuring, 496–498

establishing, 354

forms, 433–434, 624

reports, 469

SQL servers

code interactions, 353–357

Visual Studio, 348–353

strings, 353

consistency, user interfaces, 818

console applications, 9

Const keyword, 52, 199

constants, 52, 199–200

compilers, 168

fields, 283

local, 203

naming conventions, 205–206

constraints, 121

interfaces, 525, 527

simultaneous, 528

constructors, 202, 294–298

defaults, 51

structures, 301

containers, 40. See also variables

content

HTML Help, 776

XML, 441–445

Continue statements, 69

controlled access, software licensing options, 701

controls, 233

adding, 171–177, 246–253, 257

ComboBox, 305–308

Crystal Reports (ASP.NET), 745

data (ASP.NET), 744

GDI+, 576–578

HelpProvider, 781–782

HTML (ASP.NET), 745

ListBox, 305–308

MainForm. StatusImages, 653

navigation (ASP.NET), 744

.NET, 236, 662–671, 673–679

PageSetupDialog, 629

PrintDialog, 630

PrintDocument, 629

PrintPreviewControl, 631

PrintPreviewDialog, 630

ReportViewer, 669–670, 686–688

standard (ASP.NET), 744

TextBox, 672

validation (ASP.NET), 744

conventions, naming, 205–206

conversion

functions, 217–218

narrowing, 411

overloading, 416–417

pseudo-code, 39

widening, 411

core .NET data types, 46

costs, 105

counting pages, 637–639

CREATE TABLE statements, 121, 125

cross joins, 128

cryptography, 371–372

asymmetric, 376–377

symmetric, 371–376

Cryptography API (CAPI), 379

CryptoStream object, 502

Crystal Reports, 663, 745

CSV (comma-separated values) files, 438

CTS (Common Type System), 10–11

CType operators, 409–411

CurDir command, 510

Custom Actions Editor, 800

customization

applications, 475–483, 485–495

data sources, 678–679

files

managing, 500–501

modifying through streams, 501–509

My namespace, 509–514

forms, 481–482

help

accessing, 781–784

HTML Help, 774–780

Library Project, 784–790

Windows, 771–773

logs, 517–518

reports, 675–677

CustomValidator, 751

D

data binding, 130, 352–353

data controls (ASP.NET), 744

data definition language. See DDL

Data Encryption Standard. See DES

data manipulation language. See DML

data regions, 667

data security. See security

Data Source Configuration Wizard, 348, 665

Data source field, 349

data sources

adding, 665

customizing, 678–679

data sources

applying, 351

creating, 348–350

data stability, 372

data structures, 189

data types, 42, 188

constants, 199–200

enumerations, 200–201

generics

collections, 530–531

declaring, 525–530

overview of, 522–524

Library Project, 225–230

literals, 197–198

.NET, 190

Boolean, 193

characters, 193

date and time, 193

decimals, 191–192

integers, 190–191

references, 194–195

System.Object class, 194

values, 194–195

variables, 201–204

Visual Basic, 196–197

data validation, 750–752

data values

constants, 52

data types, 46, 49

fields, 52

literals, 43–44

variables, 44–45, 50–51

data-related functions, 219–220

DataAdapter object, 343

Database folder, 155

Database Name field, 155

databases

ADO.NET, 340–347

code

applying SQL statements, 355

communication, 353

establishing connections, 354

modifying, 356–357

processing results, 355–356

configuring, 761, 820

connecting, 496–498

design, 153–154, 156

DDL statements, 121–124

DML statements, 125–129

documenting, 130–131

Library Project, 132–153

navigating, 129–130

relational, 115–118

SQL, 120–121

SQL Server 2005, 118–120

integration, 752–754

integrity, 393

Library Project

administrative features, 94

item features, 92

overview of, 92

patron features, 93

requirements, 95

ODBC, 342

tables, 356–357

testing, 819

transactions, 357–358

DataRelation object, 344

DataSet object, 341–347

DataTable object, 344

date and time types, 193

Date, C.J., 115

DBConnection, 483

DDL (data definition language), 118

.NET, 158. See also .NET

statements, 121–124

Debug object, 333–334

decimals, 187–192

declarations

constants, 52

fields, 52

operator requirements, 413–414

generics, 525–530

variables, 45, 50–51, 214

Declare statements, 286

default constructors, 51

default instances, 185

default locations, configuring, 434–435

default values, 289

Default.aspx page, 761–762

defaultReference variable, 50

defaultValue variable, 50

defining

code branches, 62

overloaded operators, 403

DeflateStream object, 503

delegates, 11, 258–263, 285

DELETE statements, 118, 126

deliverables, 103

deployment, 791–792

applications (.NET), 3

methods, 792

ClickOnce, 801–803

direct ASP.NET, 793–794

Windows Installer, 795–800, 804–815

XCopy, 794–795

projects, 107

side-by-side, 18

derived classes, 279

DES (Data Encryption Standard), 373

DESCryptoService-Provider class, 373

design

barcodes, 820

databases, 153–156

DDL statements, 121–124

DML statements, 125–129

documenting, 130–131

Library Project, 132–153

navigating, 129–130

relational, 115–118

SQL, 120–121

SQL Server 2005, 118–120

GDI+, 585–594

HTML Help, 774–784

license files, 708

project lifetimes, 100–101

acceptance criteria testing, 106

approval, 104–105

deployment, 107

distribution, 107

documentation, 102–103

goals, 103

kickoffs, 102

modifying projects, 105

planning, 103

project acceptance, 106–107

software development, 105

support, 107

reports, 666–667

users, 95–96

commonality, 99–100

data and information, 96

processes, 96–97

project-specific needs, 100

usability, 97–98

Windows Forms, 236–240

destructors, 294–298

details, SearchDetail.aspx page, 766–767

development

software, 105

Web

ASP.NET, 738–747

data validation, 750–752

database integration, 752–754

events, 748

Library Project, 759–769

overview of Internet, 735–737

programming the Internet, 737–738

state/View state, 749–750

XML Web Services, 754–758

dialog boxes

Add New Item, 666

Window Types, 781

Digital Signature Algorithm (DSA), 377

digital signatures, 372, 714

digits, 187–189

Dim statements, 45, 50, 201

dimensions

arrays, 216

boundaries, 216–217

Dir command, 510

direct ASP.NET deployment, 793–794

directives, assemblies, 167–169

directories

installation, 157

LicenseFiles, 715

disabling error handling, 323

Dispose method, 557, 687

distribution

CDs, 813

projects, 107

DML (data manipulation language), 118, 125–129

Do loops, 67

document type definition. See DTD

documentation

acceptance, 106–107

databases, 130–131

projects, 102–103

scope change, 105

signing off on, 105

updating, 457–459, 483

documents

printing, 632–634

formatting pages, 637–639

Library Project, 640–659

XML, 441. See also XML

DoEvents method, 303

Dotfuscator, 703. See also obfuscation

downloading software, 825

drawing elements, 555. See also GDI+

drivers, printers, 628

DROP TABLE statement, 122

DSA (Digital Signature Algorithm), 377

DSACryptoServiceProvid er class, 377

DTD (document type definition), 453

E

editing

code tables, 308–309

columns, 764

forms, 418

inherited code editors, 424–433

keywords, 420

subjects, 420

editors

forms, 433–434

Windows Installer deployment, 800

elements, drawing, 555

ellipses, drawing, 555

Enable application framework field, 238, 328

EnableViewState property, 750

enabling searching, 550–552

encapsulation, 276–279

encryption, 371. See also security

algorithms, 371

bi-directional, 372

.NET, 373

asymmetric cryptography, 376–377

hashing, 377–379

symmetric cryptography, 373–376

passwords, 384–386

unidirectional, 372

End statements, 77

EndFunction statement, 72

enforcing licenses, 723–724

Enum statements, 200

enumerations, 11, 200–201, 284

Err object, 332

errors, 318

bug fixes, 821

compile-time, 318

disabling error handling, 323

handling, 818

ignoring, 324

logging, 818

logic, 320–321

logs

configuring, 515, 517

customizing, 517–518

managing, 329–334

run-time, 319–320

structured error handling, 324–331

unhandled, 327–328

unstructured error handling, 321–331

ErrorToString function, 334

establishing connections, 354

event-driven languages, 78

Event statements, 79

events, 78, 235, 285, 748

handlers, 78, 80

Windows Forms, 258–263

ExamineLicense function, 719

exceptions, System.Exception class, 332

EXE files, .NET, 158. See also applications

Execute method, 358

Execute toolbar button, 155

ExecuteNonQuery method, 356

Exit statements, 77, 68

expressions, 59, 206

eXtensible Markup Language. See XML

eXtensible Stylesheet Language. See XSLT

external security, 370. See also security

extracting data, 130

F

FCL (Framework Class Library), 12

fields, 52, 115, 203

constants, 283

names, 121

.NET, 5

Root namespace, 84

variables, 283

File System Editor, 800

File Types Editor, 800

FileCopy command, 511

FileDateTime command, 511

FileLen command, 511

files, 600

content, HTML Help, 776

EXE, 158. See also applications; .NET

indexes, 780

INI, 472

licenses

applying, 709

formatting, 708

generating, 708

installing, 708–709

managing, 500–501

modifying through streams, 501–509

My namespace, 509–514

MSI, 801

.NET, 159–162

PE, 159

report configuration (project), 455–463, 465–469

resource, 598–602

streams, 507–509

XML

classes, 450–454

namespaces, 447–448

overview of, 437–440

rules, 440

schemas, 445–447

System.Xml, 449

tags, 441–445

transformations, 454

verifying schemas, 453

FileStream object, 502

Finalize method, 297

Finally clause, 326–327

Finish button, 654

firing events, 78

flat file database tables, 116

flexibility, 821–823

flow control, 74

End statements, 77

GoTo statements, 74–76

Return statements, 76–77

Stop statements, 77

flow-control statements, 40

flowing text from fonts, 561–565

fonts

barcode, 519

drawing, 555

text, 561–565

footers, adding, 671

For Each Next loops, 66

For Next loops, 65–66

foreign references, 122

formatting. See also configuration

documents, 637–639

HTML Help windows, 780

license files, 708

reports, 668

adding colors, 675

adding headers/footers, 671

SQL statements, 680–683

forms, 233

About, 722

adding, 183–185, 240, 309–312, 418

binding, 481–482

code, 177–181

configuration, 270–273, 488–495

connecting, 624

editors, 433–434

Generic Summary, 312–315

links, 485

localization, 602–606

managing, 625

modal, 264

modeless, 264

NamedItem, 420–424

printing, 654–657

properties, 240

reports, 469

search-limiting, 419

Web Forms Toolbox, 744

Windows Forms

adding controls, 246–253, 257

applying, 240–245

controls, 236

delegates, 258–263

design, 236–240

events, 258–263

Library Project, 267–274

messages, 233–234

navigating, 231–232

.NET, 235

viewing, 264–266

WndProc, 234–235

XML, 461–463

Forms namespace, 13

Framework Class Library (FCL), 12

frameworks

MSF, 101

project methodology, 101

FreeFile function, 500

friend members, 280

friend variables, 203

full outer joins, 128

functions, 59, 61, 217, 223–224. See also commands

calls, 40

checksums, 372

conversion, 217–218

data-related, 219–220

ErrorToString, 334

ExamineLicense, 719

FreeFile, 500

hashing, 371

HelloWorld, 756

IIF, 64–65

intrinsic, 41

IsError, 334

IsNumeric, 320

IsPrime, 72

methods, 284

MsgBox, 61

numeric, 220–221

procedures, 71–72

SignXmlLicense-Content, 714

Sleep, 269

strings, 221–223

Val, 750–752

G

GAC (global assembly cache), 15, 158

garbage collection, 297

GDI+, 553–555

brushes, 559–560

canvases

creating Graphics objects, 556

disposing Graphics objects, 557

selecting, 556

fonts, 561–565

images

attributes, 578

controls, 576–578

GraphicsPath class, 571–572

Library Project, 579–595

managing, 566–568

methods, 569–571

regions, 572–573

transformations, 574–575

.NET, 628–632

pens, 558–559

Generalized Markup Language. See GML

generated custom license keys, 700

generated general license keys, 699

generating

errors, 329–334

license files, 708

MSI files, 801

satellite assemblies, 608–609

Generic Summary form, 312–315

generics, 25

collections, 530–531

declaring, 525–530

Library Project, 532–552

members, 529

overview of, 522–524

types

nesting, 528

non-generic, 529

overloading, 530

GetAttr command, 511

global assembly cache (GAC), 15

global variables, adding, 417

globalization, 597–598, 612–625

GML (Generalized Markup Language), 437

goals, projects, 103

GoTo statements, 74, 76

gradient brushes, 559

graphics (GDI+), 553–555

attributes, 578

brushes, 559–560

controls, 576–578

creating Graphics objects, 556

disposing Graphics objects, 557

flowing text from fonts, 561–565

GraphicsPath class, 571–572

Library Project, 579–595

managing, 566–568

methods, 569–571

pens, 558–559

regions, 572–573

selecting canvases, 556

transformations, 574–575

Graphics objects

creating, 556

disposing, 557

methods, 569–571

GraphicsPath class, 571–572

grouping reports, 673–674

groups

security, 134

managing, 388–395

undoing changes, 387

XML, 452–453

GZipStream object, 503

H

handlers, events, 78–80, 259

Handles keyword, 80

handles, files, 500

handling errors, 818

disabling, 323

ignoring, 324

structured, 324–331

unstructured, 321–331

hardware identity, license keys with, 700

hash values, 372

Hash-based Message Authentication Code (HMAC), 378

hashing

algorithms, 372, 377–379

functions, 371

hatch brushes, 559

headers

adding, 671

PE, 159

HelloWorld function, 756

“Hello, World!” project, 86–89

help

HTML Help, 774–784

Library Help, 784–790

Windows, 771–773

HelpFile, 483

HelpFileAdmin, 483

HelpNavigator property, 782

HelpProvider control, 781–782

HideLogin, 483

hierarchies, 14, 164

high-level languages, 38

histories

application configuration, 471–472

items, 820

searching, 542–544

Visual Basic, 35–37

HMAC (Hash-based Message Authentication Code), 378

HMACSHA1 class, 378–379

holds, 819

HTML (Hypertext Markup Language)

controls (ASP.NET), 745

Help, 774–784

programming the Internet, 737–738

reporting, 662

Hungarian Notation, 205

I

icons, 186, 600

identity verification, 372

IDisposable interface, 297

If statements, 61, 63

ignoring errors, 324

IIF functions, 64–65

images (GDI+), 553–555, 600

attributes, 578

brushes, 559–560

controls, 576–578

creating Graphics objects, 556

disposing Graphics objects, 557

flowing text from fonts, 561–565

GraphicsPath class, 571–572

Library Project, 579–595

managing, 566–568

methods, 569, 571

pens, 558–559

regions, 572–573

selecting canvases, 556

transformations, 574–575

implementation

base classes, 280

interfaces, 281, 299

.NET objects, 7

OOP, 276

Implements keyword, 299

importing references, 82

include loops, 40

indexes, 121, 780

inheritance, 276, 279

BaseCodeForm class, 424–433

Visual Basic, 289–292

Inherits statements, 289

INI files, 472

initializers, constants, 199

inner joins, 128

insert a heading Toolbar button, 779

INSERT statements, 118, 125

installation, 826

barcode support, 828

ClickOnce deployment, 801–803

code snippets, 827

directories, 157

license files, 708–709

software, 825

templates, 826

Windows Installer deployment, 795–815

xcopy, 20

instances, 276

classes

constructors/destructors, 294–298

creating, 292–293

default, 185

members, 287

My.Settings, 479–480

.NET, 7

structures, 301

System.Data.DataTable, 687

instantiation, 50–51

instructions. See statements

integers, 190–191

literals, 43

stacks, 531

integration

databases, 752–754

Microsoft Office/.NET, 663

integrity, databases, 393

interfaces, 11, 278–286, 818

APIs, 472

ASP.NET, 746

constraints, 525–527

forms, 481–482

IDisposable, 297

.NET, 6

OOP, 298–299

print preview, 636

testing, 106

internal security, 370. See also security

Internet

overview of, 735–737

programming, 737–738

Internet Information Server, 737

intrinsic functions, 41

IsError function, 334

IsNumeric function, 320

IsPrime function, 72

item features, Library Project, 92

items

histories, 820

managing, 138–143

return of missing, 820

searching, 539–542, 819

viewing, 545–549

J

JIT (just-in-time), 20, 160

joins, 117, 127–128

jumps, 40

just-in-time. See JIT

K

KeyPreview property, 783

keys, 371

asymmetric cryptography, 376–377

generated custom license, 700

generated general license, 699

license keys with hardware identity/locks, 700

primary, 116

private, 371

public, 371

symmetric cryptography, 373–376

keywords

access modifier, 53

Class, 282

Const, 52, 199

editors, 420

Handles, 80

HTML Help, 780

Implements, 299

Inherits, 289–292

MustOverride, 290

New, 51, 202, 292–293

NotInhertiable, 291

NotOverridable, 290

NULL, 126

Operator, 403

Overloads, 288

Overridable, 290

Overrides, 290

ParamArray, 303–304

Private, 53

Property, 73

Public, 53

statements, 63

WithEvents, 79

kickoffs, projects, 102

Kill command, 511

killing class instances, 296. See also destructors

L

labels

lines, 74

PromptUser, 75

Language property, 604

Launch Conditions Editor, 801

left outer joins, 128

Less Than (<) operator, 406

levels

access, 11

constants, 199

libraries

classes, 12–14

standards, 820

Library database folder, 156

Library Project

administrative features, 94

barcode fonts, 519

data types, 225–230

database design, 132–153

GDI+, 579–588, 591–595

generics, 532–541, 545–552

item features, 92

licenses, 707–733

licensing options localization/globalization, 612–625

logs

configuring, 515–517

customizing, 517–518

.NET assemblies, 170–186

online help, 784–790

OOP, 305–315

overloading operators, 415–435

overview of, 92, 817–823

patron features, 93

printing, 640–659

reporting, 680–696

requirements, 95

security, 380–400

settings, 482–498

Web development, 759–769

Windows Forms, 267–274

Windows Installer deployment, 804–815

LicenseFiles directory, 715

licensing option, 697–698

controlled access, 701

generated custom license keys, 700

generated general license keys, 699

Library Project, 707–733

license agreements, 701–703

license keys with hardware identity/locks, 700

license-agreement only, 698

lifetimes

instances, 294–298

.NET applications, 19–20

projects, 100–101

acceptance, 106–107

acceptance criteria testing, 106

approval, 104–105

deployment, 107

distribution, 107

documentation, 102–103

goals, 103

kickoffs, 102

modifying projects, 105

planning, 103

software development, 105

support, 107

variables, 204

lines

drawing, 555

labels, 74

logical, 39. See also statements

links forms, 485

List region, 668

ListBox control, 305–308

lists sorting XML, 452–453

literals, 43–44, 197–198

local constants, 203

local declaration, 52

local variables, 203

localization, 597–598

features, 610–611

forms, 602–606

Library Project, 612–625

My.Resources object, 601–602

resource files, 598–601

adding, 606–607

compiling, 608–609

locks, license keys with, 700

Log on to the server section, 349

logic, creating subroutines, 70–71

logic errors, 320–321

logical lines, 39. See also statements

logical operators, 408–409

logs

configuring, 515–517

customizing, 517–518

errors, 818

Lookup button, 419

loops, 40, 65

Continue statements, 69

Do, 67

Exit statements, 68

For Each Next, 66

For Next, 65–66

nested, 68

lower bound of arrays, 216–217

M

MAC (Message Authentication Code), 378

machine code, 38

Machine-Readable Cataloging (MARC), 820

macros, GraphicsPath class, 571–572

MACTripleDES class, 378

main forms, adding, 183–185

MainForm.StatusImages control, 653

MainFormPosition, 483

Make single-instance application field, 273

managed code, 8

management applications adding settings to projects, 482–498

configuring, 471–472

new settings system, 473–482

data types, 42

data values

constants, 52

data types, 46, 49

declaring variables, 50–51

fields, 52

literals, 43–44

variables, 44–45

errors, 329–334

files, 500–501

modifying through streams, 501–509

My namespace, 509–514

forms, 625

images, 566–568

items, 138–143

Library Project, 94

projects, 101

records, 621–624

search histories, 542–544

security groups, 388–395

users, 395–396

XML

classes, 450–454

System.Xml, 449

manifests, 15, 160

many-to-many relationships, 128

MARC (Machine-Readable Cataloging), 820

MARS (Multiple Active Result Sets), 347

mathematical operators, 404–405

Matrix region, 667

MD5 (Message-Digest algorithm number 5), 378

MD5CryptoService-Provider class, 378

members, 278

classes, 283–287

Err objects, 332

friend, 280

generics, 529–530

instances, 287

interfaces, 299

.NET, 5

overloading, 288

protected, 280

public, 280

System.Exception class, 332

MemoryStream object, 502

Message Authentication Code (MAC), 378

Message-Digest algorithm number 5 (MD5), 378

messages

pumps, 78

queues, 78

Windows Forms, 233–234

metadata, .NET, 16–18, 160

Method Name list, 245, 328

methodology frameworks projects, 101

methods, 60, 278

BeginTransaction, 357

BuildXmlLicense-Content, 713

Commit, 358

deployment, 792

ClickOnce, 801–803

direct ASP.NET, 793–794

Windows Installer, 795–807, 809–815

XCopy, 794–795

Dispose, 557, 687

DoEvents, 303

error-handling, 330–331

Execute, 358

ExecuteNonQuery, 356

Finalize, 297

functions, 284

GDI+, 569, 571

generics

collections, 530–531

declaring, 525–530

Library Project, 532–552

overview of, 522–524

Graphics object, 569–571

MsgBox, 301–303

.NET, 5

overloading, 288

Peek, 531

Pop, 531

Push, 531

RefreshReportList, 691

Reload, 480

Reset, 480

Save, 480

ShowDialog, 264

ShowHelp, 783–784

SqlCommand’s ExecuteScalar, 357

sub, 284

SuppressFinalize, 298

Upgrade, 480

Microsoft Help, 773. See also online help

Microsoft Intermediate Language (MSIL), 8

Microsoft Office, .NET integration, 663

Microsoft Solutions Framework (MSF), 101

Mid statements, 222

milestones, 104

minus (-) operator, 404

missing items, return of, 820

mixing error-handling methods, 330–331

MkDir command, 511

modal forms, 264

modeless forms, 264

modes, printing in raw, 639–644

modification database tables, 356–357

files designing streams, 501–509

managing, 500–501

My namespace, 509–514

passwords, 615

projects, 105

schedules, 105

scope, 105

modules, 11, 300–301

moving images, 574–575

MsgBox function, 61

MsgBox method, 301, 303

MSI files, generating, 801

MSIL (Microsoft Intermediate Language), 8, 160

multi-threading, 818

multidimensional arrays, 216

Multiple Active Result Sets. See MARS

multiple placeholders, 525. See also placeholders

MustOverride keyword, 290

My namespace, 84–85, 509–510

assemblies, 164–167

files, 512–514

My.Resources object, 601–602

My.Settings, 479–480

My.User object, 379

N

Name field, 237

NamedItem form, 420–424

names

constants, 199, 205–206

fields, 121

functions, 40

interfaces, 298

strong, 15, 158

tables, 121

variables, 205–206

namespaces, 13, 81

creating, 83

Forms, 13

My, 84–85, 509–510

assemblies, 164–167

reading/writing files, 512–514

references, 82–83

System, 13, 190

System.Reflection, 162

System.Windows.Forms, 235

Web, 13

Windows, 13

XML, 447–448

classes, 450–454

System.Xml, 449

narrowing conversion, 411

navigation controls (ASP.NET), 744

databases, 129–130

Windows Forms, 231–232

needs of users, 95–96

commonality, 99–100

data and information, 96

processes, 96–97

project-specific needs, 100

usability, 97–98

nested classes, 11

nested loops, 68

nested types, 286

nesting generic types, 528

.NET, 4

applications, 163, 473

adding resources, 606–607

compiling resources, 608–609

deployment, 3

forms, 602–606

lifetimes, 19–20

localization, 610–611

My.Resources object, 601–602

resource files, 598–601

assemblies, 15, 157, 159

directives, 167–169

Library Project, 170–186

My namespace, 164–167

reflection, 162

structure of, 159–162

attributes, 16–18

class libraries, 12–14

CLR, 8–9

CLS, 10

code projects, 27–34

core data types, 46

CTS, 10–11

data (updating), 70

data types, 190

Boolean, 193

characters, 193

date and time, 193

decimals, 191–192

integers, 190–191

references, 194–195

System.Object class, 194

values, 194–195

GDI+, 553–555

brushes, 559–560

creating Graphics objects, 556

disposing Graphics objects, 557

flowing text from fonts, 561–565

pens, 558–559

selecting canvases, 556

generics

collections, 530–531

declaring, 525–530

Library Project, 532–552

overview of, 522–524

history of, 1–2

manifests, 15

metadata, 16–18, 160

objects

data, 4

instances, 7

interfaces, 6

overview of, 2–3

printing in, 628–632

reporting, 661

controls, 662–679

Crystal Reports, 663

HTML/Web pages, 662

Microsoft Office integration, 663

printing, 662

services, 662

security, 3, 370

asymmetric cryptography, 376–377

authentication, 379

encryption, 373

hashing, 377–379

Library Project, 380–400

My.User object, 379

SecureString class, 380

symmetric cryptography, 373–376

software licensing options, 697–698

controlled access, 701

generated custom license keys, 700

generated general license keys, 699

license agreements, 701–703

license keys with hardware identity/locks, 700

license-agreement only, 698

standards, 3

structures, 301

versioning, 18, 158

Visual Studio, 20

Visual Studio 2005, 21–24

Windows Forms, 235

adding controls, 246–253, 257

applying, 240–245

controls, 236

delegates, 258–263

design, 236–240

events, 258–263

Library Project, 267–274

messages, 233–234

navigating, 231–232

viewing, 264–266

XCopy deployment, 794–795

NetworkStream object, 502

New Connection button, 349

New Database form, 155

New keyword, 51, 202, 292–293

Next button, 348

nodes, 13

non-generic types, 529

non-postback events, 748

normalization, 116

NotInhertiable keyword, 291

NotOverridable keyword, 290

NULL keyword, 126

numbers, 187–189

characters, 189

configuring versioning, 182–183

pages, 637–639

numeric data values, 43

numeric functions, 220–221

numeric title searches, 819

O

obfuscation, 20, 162, 703–705

Object Explorer, 156

object-oriented language compilers, 276

object-oriented programming. See OOP

objects

BufferedStream, 502

Command, 342

Connection, 342

CryptoStream, 502

DataAdapter, 343

DataRelation, 344

DataSet, 341–347

DataTable, 344

Debug, 333–334

DeflateStream, 503

Err, 332

FileStream, 502

Graphics

creating, 556

disposing, 557

methods, 569–571

GZipStream, 503

MemoryStream, 502

My.Resources, 601–602

My.User, 379

.NET

CTS, 10

data, 4

instances, 7

interfaces, 6

NetworkStream, 502

SqlTransaction, 358

System.Object, 275

System.Object class, 194

XmlDocument, 450

XmlNodeList, 452–453

ODBC (Open Database Connectivity), 342

Office. See Microsoft Office

OK button, 349

OLE DB, 342

On Error GoTo statement, 323

On Error Resume Next statement, 324

one-to-many relationships, 128

one-to-one relationships, 128

OnError statements, 322

ongoing support, projects, 107

online help. See also troubleshooting

HTML Help, 774–784

Library Project, 784–790

Windows, 771–773

OOP (object-oriented programming), 275

implementation, 276

Library Project, 305–315

overview of, 275–276

abstraction, 277

encapsulation, 278–279

inheritance, 279

interfaces, 281

objects, 276

polymorphism, 280

Visual Basic

classes, 282–287

constructors/destructors, 294–298

creating instances, 292–293

inheritance, 289–292

interfaces, 298–299

modules, 300–301

overloading methods, 288

structures, 301

Opacity property, 594–595

Open Database Connectivity. See ODBC

operands, 206

operators, 56, 59, 206–213

assignment (=), 56

binary, 57

Less Than (<), 406

Library Project, 415–435

minus (-), 404

overloading, 401, 403–404, 414

plus (+), 404

rules, 411–414

types of, 404

bitwise, 408–409

comparison, 406–407

CType, 409–411

logical, 408–409

mathematical, 404–405

unary, 57

Option statements, 54–56

optional arguments, 60

options. See customization

order, configuring tabs, 176

output

configuring, 515–517

customizing, 517–518

overloading

classes, 281

conversions, 416–417

generics, 530

methods, 288

operators, 401–404

bitwise, 408–409

comparison, 406–407

CType, 409–411

declaration requirements, 413–414

Library Project, 415–435

logical, 408–409

mathematical, 404–405

overloading overloaded, 414

rules, 411–413

types of, 404

subroutines, 60

Overridable keyword, 290

Overrides keyword, 290

overriding classes, 279

owner draw, 555, 580–585

P

PageNumber property, 637

pages, counting and numbering, 637–639

PageSetupDialog control, 629

Page_Load event, 749

panels, Settings, 475–476

ParamArray arguments, 303–304

parameters

subroutines, 70

types, 525. See also generics

Pascal Casing, 205

passing arguments, subroutines, 70

Password field, 395

passwords

encryption, 384–386

modifying, 615

paths, GraphicsPath class, 571–572

patron features, Library Project, 93

patron-related tables (Library Project), 143–145

PE (Portable Execution) files, 159

Peek method, 531

pens, 555–559

per-use experience, 396–400

Percent property, 73

PIA (Primary Interop Assemblies), 664

placeholders (generics)

collections, 530–531

declaring, 525–530

Library Project, 532–552

overview of, 522–524

placement of procedures, 74

planning projects, 103

plus (+) operator, 404

polymorphism, 276, 280

Pop method, 531

populating reports, 463–467

popups, viewing HTML Help, 782

Portable Execution. See PE files

Post, Ed, 21

postback events, 748

preferences, 481. See also customization

previewing printing, 636

Primary Interop Assemblies (PIA), 664

primary keys, 116

PrintDialog control, 630

PrintDocument control, 629

printing

barcodes, 648–653

documents, 632–634

formatting pages, 637–639

Library Project, 640–659

forms, 654–657

.NET, 628–632, 662

previewing, 636

raw mode, 639–644

tickets, 645–647

Windows, 627–628

PrintPreviewControl control, 631

PrintPreviewDialog control, 630

private access levels, 11

private assemblies, 157

private implementation, base classes, 280

private keys, 371

Private keyword, 53

private variables, 203

procedural languages, 60

procedure-level scope, 204

procedures, 41

creating, 69

functions, 71–72

placement of, 74

properties, 72–73

subroutines, 70–71

windows (WndProc), 234–235

processDate variable, 67

processes, user needs, 96–97

processing

code, 40

overview of, 187–189

results, 355–356

programming

Internet, 737–738

.NET, 27–34

object-oriented. See OOP

overview of, 38–41, 823–824

Project Properties window, 475–477

projects

lifetimes, 100–101

acceptance criteria testing, 106

approval, 104–105

deployment, 107

distribution, 107

documentation, 102–103

goals, 103

kickoffs, 102

modifying projects, 105

planning, 103

project acceptance, 106–107

software development, 105

support, 107

management, 101

methodology frameworks, 101

.NET code, 27–34

project-specific needs, 100

settings, 482–498

PromptUser label, 75

properties, 60, 278, 285

AutoPostBack, 748

binding, 481–482

EnableViewState, 750

forms, 240, 485

HelpNavigator, 782

KeyPreview, 783

Language, 604

.NET, 5

Opacity, 594–595

PageNumber, 637

Percent, 73

procedures, 72–73

Property keyword, 73

proprietary binary formats, 437. See also XML

protected friend variables, 203

protected members, 280

protected variables, 203

prototypes, 105

providers, 341–347

pseudo-code, 38

public access levels, 11

public assemblies, 158

public keys, 371

Public keyword, 53

public members, 280

public variables, 203

pumps, messages, 78, 233–234

Push method, 531

Q–R

query languages, 118

queues, messages, 78, 233

RaiseEvent command, 80

RaiseEvent statements, 79

RangeValidator, 751

raw mode, printing in, 639–644

RC2 (Rivest Cipher number 2), 373

RC2CryptoService-Provider class, 373

readers, streams, 504–506

reading files

My namespace, 512–514

via streams, 507–509

ReceiptPostlude, 483

ReceiptPrinter, 484

ReceiptWidth, 484

records, 115

access, 613–614

editing, 418

managing, 621–624

user management, 395–396

rectangles, drawing, 555

recursive calls, 384

references

arguments, 70

foreign, 122

instantiating, 50–51

namespaces, 82–83

types, 10, 46, 194–195

referential integrity, 393

reflection, assemblies, 162

RefreshReportList method, 691

regions

Chart, 668

data, 667

GDI+, 572–573

List, 668

Matrix, 667

Table, 667

registry, 472

Registry Editor, 800

relational algebra, 118

relational databases, 115–118

relationships, types of, 128

Reload method, 480

RemoveHandler statement, 263

Rename command, 512

Renew button, 650

repeating blocks, 67

report configuration files (project), 455–469

ReportCheckedOut.rdlc., 685

ReportConfig, 484

ReportMissing.rdlc., 686

ReportOverdue.rdlc., 686

ReportPatronFines.rdlc., 686

reports

connecting, 469

Crystal Reports controls (ASP.NET), 745

Library Project, 680–696

.NET, 661

controls, 662–679

Crystal Reports, 663

HTML/Web pages, 662

Microsoft Office integration, 663

printing, 662

populating, 463, 465–467

running, 468–469

schemas, 684

services, 662

Statistics.aspx page, 767–769

ReportStatistics.rdlc., 686

ReportViewer class, 664

ReportViewer control, 669–670, 686–688

requirements

Library Project, 95

operator declaration, 413–414

reserves, 819

Reset method, 480

resizing reports, 668

resources

applications, 598

files, 598–602

results

processing, 355–356

returning, 40

SearchResults.aspx page, 763–765

Resume Next statement, 323

return of missing items, 820

Return statements, 76–77

Return to Patron Mode option, 397

returning results, 40

right outer joins, 128

Rijndael, 374

RijndaelManaged class, 374

Rivest Cipher number 2 (RC2), 373

Rivest, Ron. See RSA algorithm

RmDir command, 512

rolling back database transactions, 357

Root namespace field, 84

rotating images, 574–575

rows, 115

RSA algorithm, 377

RSACryptoService-Provider class, 377

rules

operators

declaration requirements, 413–414

overloading, 411–413

XML, 440

run-time errors, 319–320

running reports, 468–469, 670

S

satellite assemblies, generating, 608–609

Save method, 480

saving code, 186

schedules, 105

schemas

reports, 684

XML, 445–447

verifying, 453

scope, 103

modifying, 105

variables, 204

search-limiting forms, 419

SearchDetail.aspx page, 766–767

searching

enabling, 550–552

histories, 542–544

items, 539–542, 819

numeric titles, 819

XML, 452–453

SearchResults.aspx page, 763–765

SecureString class, 380

security

authentication, 379

groups, 134

managing, 388–395

undoing changes, 387

Library Project, 380–400

.NET, 3, 370

asymmetric cryptography, 376–377

encryption, 373

hashing, 377–379

My.User object, 379

SecureString class, 380

symmetric cryptography, 373–376

tables, 133–135

Select Case statements, 63

SELECT statements, 118

selection

brushes, 559–560

canvases, 556

creating Graphics objects, 556

disposing Graphics objects, 557

pens, 558–559

reports, 689–696

sender arguments, 80

Server name field, 349

servers (SQL)

code interactions, 353–357

connecting with Visual Studio, 348–353

services

reporting, 662

XML Web Services, 754–758

Set accessors, 73

SET clauses, 126

SetAttr command, 512

Settings panel, 475–476

settings. See configuration

SettingsUpgraded, 484

Setup Wizard, 796

SGML (Standard Generalized Markup Language), 437

SHA256Managed class, 379

SHA384Managed class, 379

SHA512Managed class, 379

Shamir, Adi. See RSA algorithm

shapes, drawing, 555

shared class members, 287

shortcuts, adding, 808–811

Show All Files button, 182

ShowDialog method, 264

ShowHelp method, 783–784

side-by-side deployment, 18

signatures

digital, 372, 714

DSA, 377

SignedXml class, 714

signing off on project documentation, 105

SignXmlLicenseContent function, 714

simultaneous constraints, 528

skills, overview of programming, 823–824

Sleep function, 269

Smart Tags, 247

software

development, 105

licensing options, 697–698

controlled access, 701

generated custom license keys, 700

generated general license keys, 699

license agreements, 701, 703

license keys with hardware identity/locks, 700

license-agreement only, 698

sorting

reports, 673–674

XML, 452–453

source code, 39, 107. See also code

sources

adding, 665

customizing, 678–679

spaghetti code, 75

specifications, 104

Splash screens, configuring, 267–268

SQL (Structured Query Language), 118–120

data types, 122

database design, 120–121

DDL statements, 121–124

DML statements, 125–129

statements, 680–683

applying, 355

databases, 357–358

Visual Studio

code interactions, 353–357

connecting, 348–353

SQL Server 2005, 118–120

SQL Server Express (SSE), 354

SqlCommand’s ExecuteScalar method, 357

SqlTransaction object, 358

SSE (SQL Server Express), 354

stability, data, 372

stacks, integers, 531

standard controls (ASP.NET), 744

Standard Generalized Markup Language. See SGML

standards

libraries, 820

.NET, 3

Startup Form field, 185, 237, 267

state, 749–750

statements, 39

AddHandler, 263

ALTER TABLE, 122

Continue, 69

CREATE TABLE, 121, 125

DDL, 121–124

Declare, 286

DELETE, 118, 126

Dim, 45, 50, 201

DML, 125–129

End, 77

EndFunction, 72

Enum, 200

Event, 79

Exit, 68, 77

flow-control, 40

GoTo, 74, 76

If, 61–63

IIF functions, 64–65

Inherits, 289

INSERT, 118, 125

Interface, 298–299

keywords, 63

Mid, 222

On Error GoTo, 323

On Error Resume Next, 324

OnError, 322

Option, 54–56

RaiseEvent, 79

Removehandler, 263

Resume Next, 323

Return, 76–77

SELECT, 118

Select Case, 63

SQL

applying, 355

creating, 680–683

database transactions, 357–358

Stop, 77

UPDATE, 118, 126

Using, 298

static variables, 213

Statistics.aspx page, 767–769

status, licenses, 717

Stop statements, 77

StreamReader class, 505–509

streams

modifying, 501–509

reading via files, 507–509

StreamWriter class, 505

StringReader class, 505

strings, 600

connections, 353

default constructors, 51

functions, 221–223

literals, 43

SecureString class, 380

StringWriter class, 505

strong names, 15, 158

structured error handling, 324–3331

Structured Query Language. See SQL

structures, 11

assemblies, 159–162

data, 189

Visual Basic, 301

sub methods, 284

subject editors, 420

subroutines, 59, 61

overloading, 60

procedures, 70–71

Return statements, 76

subtyping polymorphism, 280

support

authentication, 381–382, 384

code tables, 135–138

projects, 107

SuppressFinalize method, 298

surfaces

adding report design, 666–667

drawing, 555

symmetric cryptography, 371–376

system message queues, 233

System namespace, 13, 190

system testing, 106

System.Data.DataTable instance, 687

System.Drawing.Graphics class, 555

System.Drawing.Printing. PrinterSettings class, 632

System.EventArgs class, 80

System.Exception class, 332

System.Object class, 194

System.Object object, 275

System.Reflection namespace, 162

System.Windows.Forms namespace, 235

System.Xml, 449–454

T

Table region, 667

tables, 115

barcodes, 146, 150

code

editing, 308–309

support, 135–138

databases, 356–357

joins, 117, 127–128

Library Project, 150–153

names, 121

patron-related (Library Project), 143–145

security, 133–135

Tables branch, 350

tabs, configuring, 176

tags, XML, 441–445

technical documentation, updating, 457–459, 483

telnet, 736

templates, installing, 826

Test Connection button, 349

testing

acceptance criteria, 106

databases, 819

IsNumeric function, 320

Statements, 63. See also statements

text. See also documents

fonts, 561–565

variables, 40

TextBox control, 672

TextReader class, 505

texture brushes, 559

TextWriter class, 505

tickets, printing, 645, 647

time, date and time data types, 193

titles, searching numeric, 819

Toolbox controls, adding, 246

transactions, databases, 357–358

transformations, 555

GDI+, 574–575

XML, 454

Triple DES, 374

TripleDESCryptoService-Provider class, 374

troubleshooting

bug fixes, 821

errors, 318

compile-time, 318

disabling error handling, 323

ignoring, 324

logic, 320–321

managing, 329–334

run-time, 319–320

structured error handling, 324–331

unhandled errors, 327–328

unstructured error handling, 321–331

help

HTML Help, 774–784

Library Project, 784–790

Windows, 771–773

Try clause, 325

types, 11

data, 42–49, 188

Boolean data types, 193

characters, 193

constants, 199–200

date and time, 193

decimals, 191–192

enumerations, 200–201

integers, 190–191

Library Project, 225–230

literals, 197–198

.NET, 190

references, 194–195

SQL, 122

System.Object class, 194

values, 194–195

variables, 201–204

Visual Basic, 196–197

errors, 318

compile-time, 318

disabling error handling, 323

ignoring, 324

logic, 320–321

managing, 329–334

run-time, 319–320

structured error handling, 324–331

unhandled, 327–328

unstructured error handling, 321–331

generics

nesting, 528

non-generic, 529

overloading, 530

joins, 128

nested, 286

operators

bitwise, 408–409

comparison, 406–407

CType, 409–411

logical, 408–409

mathematical, 404–405

overloading, 404

relationships, 128

parameters, 525

references, 10, 46–51, 194–195

values, 10, 194–195, 301

U

unary operators, 57, 206, 402

undoing changes to security, 387

unhandled error handling, 327–328

Unicode, 189

unidirectional encryption, 372

unified programming environments, 2. See also .NET

unit testing, 106

unmanaged code, 8

unstructured error handling, 321–331

UPDATE statements, 118, 126

updating

data (.NET), 70

technical

documentation, 457–459, 483

Upgrade method, 480

upper bound of arrays, 216–217

usability, user needs, 97–98

User Interface Editor, 800

UserReceipts, 484

users

interfaces, 818. See also interfaces

managing, 395–396

My.User object, 379

needs of, 95–96

commonality, 99–100

data and information, 96

processes, 96–97

project-specific needs, 100

usability, 97–98

per-use experience, 396–400

Using statements, 298

V

validation

controls (ASP.NET), 744

data, 750–752

values

arguments, 70

Boolean, 193

constants, 199–200

data

constants, 52

data types, 46, 49

declaring variables, 50–51

fields, 52

literals, 43–44

variables, 44–45

default, 289

enumerations, 200–201

hash, 372

literals, 197–198

modules, 300–301

types, 10, 194–195, 301

variables, 40–45, 201–204

caches, 486–488

declaring, 50–51

defaultReference, 50

defaultVariable, 50

fields, 283

global, 417

local, 52, 203

naming conventions, 205–206

.NET, 4

processDate, 67

scope, 204

static, 213

verification

identity, 372

XML schemas, 453

versioning

configuring, 182–183

.NET, 18, 158

versions

beta, 105

testing, 106

View Application Events button, 328

View state, 749–750

viewing

assemblies, 162

forms, 264–266, 722

items, 545, 547–549

popup HTML Help, 782

reports, 669–670

ShowHelp method, 783–784

Vista (Windows), Assistance Platform, 773. See also online help

Visual Studio

form localization, 602–606

.NET, 20

resources

adding, 606–607

compiling, 608–609

SQL servers

code interactions, 353–357

connecting, 348–353

Visual Studio 2005, 21–24

VSTO (Visual Studio Tools for the Microsoft Office System), 663

W

warranty periods, 107

Web development

ASP.NET, 738–747

data validation, 750–752

database integration, 752–754

events, 748

Internet

overview of, 735–737

programming, 737–738

Library Project, 759–769

state/View state, 749–750

XML Web Services, 754–758

Web Forms Toolbox, 744

Web namespaces, 13

Web pages, reporting, 662

Web-based development, .NET, 3

WHERE clauses, 126

widening conversion, 411

wildcard characters, 541

Window Types dialog box, 781

windows, formatting, 780

Windows

Installer deployment, 795–807, 809–815

online help, 771–773

printing in, 627–628

windows

procedures (WndProc), 234–235

Project Properties, 475–477

Windows Forms

Library Project, 267–274

messages, 233–234

namespaces, 13

navigating, 231–232

.NET, 235

adding controls, 246–257

applying, 240–245

controls, 236

delegates, 258–263

design, 236–240

events, 258–263

viewing, 264–266

WndProc, 234–235

WithEvents keyword, 79

wizards

Data Source Configuration Wizard, 348

Setup, 796

Wndproc (windows procedures), 234–235

writers, streams, 504–506

writing

code, 39. See also code

files (My namespace), 512–514

logic, 39

X–Z

XCopy deployment, 794–795

xcopy installations, 20

XML (eXtensible Markup Language)

classes, 459–460

documentation, 457–459

forms, 461–463

namespaces, 447–448

overview of, 437–440

reports

connecting, 469

populating, 463–467

running, 468–469

rules, 440

schemas, 445–447, 453

System.Xml, 449–454

tags, 441–443, 445

transformations, 454

Web Services, 754–758

XmlDocument object, 450

XmlNodeList object, 452–453

XSLT (eXtensible Stylesheet Language), 443

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.95.65