Cicode Programming Reference > Cicode Function Categories > Process Analyst Functions Introduction > ProcessAnalystLoadFile

ProcessAnalystLoadFile

Loads the specified PAV file to a Process Analyst object, which is identified by parameter ObjName.

Syntax

ProcessAnalystLoadFile(sPAVFile, iFileLocation, iButtonMask, sObjName )

sPAVFile:

Name of the PAV file

iFileLocation:

PAV file location code for the PAV file. Indicates which known location to load the file from.

Member Name Description Value

FileLocation_Local

Refers to the project folder

0

FileLocation_Server

Refers to the both the primary/standby server paths

1

FileLocation_User

Refers to the My Documents folder

2

iButtonMask:

Bit mask for removing command buttons from the PA, bit flags as shown below:

sObjName:

Name of the PA object on the given Page where the PAV file will be loaded.

Return Value

Zero (0) if the function is successfully run. Otherwise an error is returned.

Related Functions

PageProcessAnalyst, PageProcessAnalystPens, ProcessAnalystPopUp, ProcessAnalystSelect, ProcessAnalystSetPen, ProcessAnalystWin, TrnSetPen, WinNewAt

See Also

Process Analyst Functions