| < Free Open Study > |
|
DAO (Data Access Objects), 454
data, upgrading to .NET, 442
dates, upgrading to .NET, 442
Debug Output window pane, 368
Debugger objects, 464-466
DebuggerEvents object, 372-373, 468
DebuggerEvents object event handlers (code listing), 372-373
debugging add-ins, 87-111, 492
breakpoints, 94
complex code, stepping through, 93
debug options, setting, 88-90
debugging sessions
disconnecting between, 94-95
stopping, 99
error handling, 101-111
automating code production, 103-109
error handler generator, testing, 109-111
protecting whole procedure, 102
selective error handling, 102-103
errors
locating, 90-92
running with, 95-99
inability to edit, workaround for, 92-93
observing results in client, 100-101
Option Strict, 92
debugging macros, 250-258
Debugging the Development Process (Microsoft Press), 87
declaration line, method, 505
designer menu, 420-421
designer options, accessing, 169-171
designer windows, opening all (code), 502
destructors and constructors, 335-337
dimensioning
Command Bar events (code listing), 214
menus & events (code listing), 219-220
toolbar & buttons (code listing), 214
directory hierarchy, 24-25
DisableFlags parameter, 188
Display function, 134
display method of frmGetComments (code listing), 414-415
DLL (Dynamic Link Library), Visual Basic
adding to project, 330-332
calling from add-in, 332-333
running add-in to call, 333-334
DLLs, 88, 448
docked windows, manipulating, 136-138
docking tool windows example (code listing), 137-138
DocTemplate method (code listing), 263-269
Document object, 114-120
Code Editor, manipulating, 115-120
defined, 466
example (code listing), 115
DocumentClosing event, 371
DocumentEvents object, 371-372, 468
DocumentEvents object event handlers (code listing), 371-372
documenting procedures, 262-272
DocumentOpened event, 371
DocumentOpening event, 371
documents
adding procedure to bottom of (code listing), 125-126
closing & saving all but active, 500-501
closing saved (code listing), 114
collection, 114, 466
Documents objects, 466-467
retrieving code from (code listing), 121-122
DocumentSaved event, 371
drag and drop operations, upgrading to .NET, 442
DTE (Development Tools Extensibility)
events, using, 382-389
CReminder class, 387-389
TaskList object's ItemAdded event, 384-385
TaskRemoved event, 386-387
WindowActivated event, 382-384
menu items, 179-190
objects
application objects and, 114
definition & fundamentals, 3-6, 468
macros, 113
properties, displaying (code listing), 5-6
toolbar add-in, adding, 190-197
windows events, register for, 498
DTEEvents object event handlers (code listing), 370
DTE.ExecuteCommand statement, 455
DTE.Globals objects, 286
DuplicateSelectedLines macro (code listing), 246
| < Free Open Study > |
|