home *** CD-ROM | disk | FTP | other *** search
- '---------------------------------------------------------------------------
- ' File : WPCIWIN.TXT
- ' Title : Visual Basic Declares File
- ' Desc : This file contains the Visual Basic declarations for the WordPerfect
- ' Command Interface functions.
- ' Tabs : column 5 every 4
-
- ' Copyright (C) 1994 WordPerfect Corp., All Rights Reserved
- '
- ' You have a royalty-free right to use, modify, reproduce and distribute
- ' the VB Declares Files (and/or any modified version) in any way
- ' you find useful, provided that you agree that WordPerfect Co. has no warranty,
- ' obligation or liability for any VB Declares File.
- '---------------------------------------------------------------------------
- '
- 'Set these up as CONST for the VB file
-
- 'Constants for the PSVariableType property
- Const PS_STRING_TYPE = 0
- Const PS_INTEGER_TYPE = 1
- Const PS_FLOAT_TYPE = 2
-
- 'Constants for the ScriptType property
- Const PS_TEMPLATE_SCRIPT = 0
- Const PS_FILE_SCRIPT = 1
-
- 'Constants for the ExistsResult property
- Const PS_VAR_NOT_EXISTS = 0
- Const PS_VAR_EXISTS = 1
-
- 'Constants for the CommandTargetApp property
- Const WORDPERFECT = "WordPerfect"
- Const GROUPWISE = "WPOffice"
- Const PRESENTATIONS = "WPPrWin"
- Const QUATTRO_PRO = "QuattroPro"
-
- 'Constants for the Action property
- Const PS_ACTION_PLAYSCRIPT = 1
- Const PS_ACTION_GETVARIABLE = 2
- Const PS_ACTION_SETVARIABLE = 3
- Const PS_ACTION_DELVARIABLE = 4
- Const PS_ACTION_EXISTSVARIABLE = 5
-
- 'CommandError value constants
- Const NO_ERROR = 0
- Const COMMAND_NOT_FOUND = 1
- Const INVALID_APP_PROPERTY = 2
- Const COMMAND_TOO_LARGE = 3
- Const NO_PRODUCTS_FOUND = 4
- Const COMMAND_SYNTAX_ERROR = 5
- Const PRODUCT_NOT_RESPONDING = 6
- Const MACRO_OR_TEMPLATE_NOT_FOUND = 7
- Const VARIABLE_ERROR = 8
- Const PERFECTSCRIPT_SYSTEM_ERROR = 9
- Const PID_NOT_ENABLED = 10
-