13.07.2015 Views

Macro Guide - Esker

Macro Guide - Esker

Macro Guide - Esker

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Drop list boxes, 49DTR/DTR flow control, 156Duplicatecontrols on dialog, 61–62files, 258Eeb constants, 172ebCFBitmap, 165ebCFDIB, 165ebCFMetafile, 165ebCFPalette, 165ebCFText, 165ebCFUnicodeText, 165ebDOS, 125ebMaximized, 123, 172ebMinimized, 123, 172ebRestored, 123, 172ebWindows, 125Edit pane (<strong>Macro</strong> Editor), 33Elapsed time, 482Empty (constant), 88EmulationInfo, constants for, 177EnableTriggers, 447Endloops, 252macro, 239of file, 240English, 110–111, 114, 178constant for, 110, 114Environment variables, 239–240EOF (End-of-file marker), 240Equivalence, 240–241Erasedialog controls, 62directories, 383–384elements in array, 241–242files, 312Err (object), 24, 242–249Errorscascading, 249–250clear, 243description of, 243–244functions, 250–251generate, 247–248handling, 24, 242–252help file for, 244–245in external DLLs, 245–246number, 246–247OLE, 248–249resume after trapping, 382return line number of, 242–243runtime, 247–248set return value, 247simulate, 251–252source of, 248–249SQL, 457–458statement, 251–252trap, 348–349user-defined, 183, 306Visual Basic, 250while running macros, 15Escape sequences, 355–356Eventwait (Session object), 21–22constants for, 176Exclusive or, 523–524Exitfunctions and subroutines, 253loops, 252Exit program, 111Exponentiation, 93–94, 253–254Expressions, 254–255assign to variable, 316–317choose among a list, 146–147convert from numbers, 513convert toBoolean, 142–143currency, 143dates, 144error numbers, 183hexadecimal, 288integer, 148–149long, 166number, 307–308single, 181string, 181–182, 467, 469–470variant, 182–183evaluate, 254–255imply, 294–295in dialog templates, 137string, compare, 317–318External routinescheck for parameters, 306–307declare, 201–202, 205–207, 209–210explicit declaration of, 357return errors in, 245–246FFalse (constant), 88Filesaccess, 322–324attributes, 218, 257–258, 450–451attributes of, 281–282, 350–352button pictures, 117capture text into, 397–398check existence of, 260close, 167constants for, 175, 177copy, 258date and time, 258–259delete all, 312dialog template, 64–65end of, 240file numbers, 273file pointer in, 388–390help, customize, 115–116HotSpots, 116initialization, 523initialization (ini), 378–380keyboard maps, 116length of, 260, 324, 350–352list, 259–260list, to array, 260–262lock, 322–324, 350–352macros, 24–25, 76–77, 116name, 337–338names of, 262–263open, 350–352open, with dialog, 352–353parse names, 262–263phone books, 116–117picture, 60picture library, 60–61position file pointer in, 322print, 455–456print spaces in, 477–478read, 295–298, 318receive, 498–499rename, 337–338retrieve data from, 279–281save, with dialog, 387–388send, 499–500sessions, 117size, 324, 350–352timestamp, 258–259transfer, 23, 81–82, 118, 483unlock, 322–324, 350–352width, 520–521write, 368–369, 373–375, 455–456, 522–523write out and close, 381–382Findother application, 104–105substrings, 299, 301, 314, 319–320, 327–328, 383, 521Fixed arrays, 127–128Flash program icon, 110Flow controlconstants for, 156of serial connection, 156Focus, 115Folders, See DirectoriesFontsconstants for, 175For loops, 252, 265–267iterate across a collection or array, 264–265Formatconstants for, 165of Clipboard, 164–165Format strings, 267–269, 271–273French, 110–111, 114, 178constant for, 110, 114FTP file transferconnect to host, 484host name, 486–487password, 489send command, 483–486547

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!