| These are the constants for the CE
File Control. Place them in the declarations section of a form or use the public version
below and place it in the Declarations section of a *.BAS module. 'Place in Form Declarations Section:
'======================
'File Control Constants
'======================
'MODES
Const CEFILE_INPUT = 1
Const CEFILE_OUTPUT = 2
Const CEFILE_RANDOM = 4
Const CEFILE_APPEND = 8
Const CEFILE_BINARY = 32
'ACCESS
Const CEFILE_READ = 1
Const CEFILE_WRITE = 2
Const CEFILE_READWRITE = 3 'Default
'LOCK
Const CEFILE_SHARED = 1
Const CEFILE_LOCKREAD = 2
Const CEFILE_LOCKWRITE = 3 'Default
Const CEFILE_LOCKREADWRITE = 5
OR Use this one:
'Place in Module Declarations
Section:
'======================
'File Control Constants
'======================
'MODES
Public Const CEFILE_INPUT = 1
Public Const CEFILE_OUTPUT = 2
Public Const CEFILE_RANDOM = 4
Public Const CEFILE_APPEND = 8
Public Const CEFILE_BINARY = 32
'ACCESS
Public Const CEFILE_READ = 1
Public Const CEFILE_WRITE = 2
Public Const CEFILE_READWRITE = 3 'Default
'LOCK
Public Const CEFILE_SHARED = 1
Public Const CEFILE_LOCKREAD = 2
Public Const CEFILE_LOCKWRITE = 3 'Default
Public Const CEFILE_LOCKREADWRITE = 5 |