Technical Reference > Graphics Builder Automation Interface > Project Functions > ProjectPackDatabase

ProjectPackDatabase

Packs the current project's database files.

Syntax

ProjectPackDatabase

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: This function displays a cancel dialog. It will exit and report error code E_ABORT, if the cancel button is pressed. For details on handling return and error values, see Error Handling.

Related Functions

ProjectSelect, ProjectSelected, ProjectFirst, ProjectNext, ProjectFirstInclude, ProjectNextInclude, ProjectUpgrade, ProjectUpgradeAll, ProjectPackLibraries, ProjectUpdatePages, ProjectCompile

Example

GraphicsBuilder.ProjectPackDatabase
If Err.Number <> 0 Then
Debug.Print "Error in ProjectPackDatabase"
Err.Clear
Else
Debug.Print "ProjectPackDatabase OK"
End If