SetSaveError
This method must be used to report an error condition to the project, if an error occurs in the OnSaveProject event.
The specified error code is used as return value from the Save method that has triggered the OnLoadProject event.
Syntax
SetSaveError (ErrorNumber As Long, ErrorDescription As String, ErrorSource As String)
Parameter | Description |
---|---|
ErrorNumber |
Must be negative to specify an error code. |
ErrorDescription |
Description of the error. |
ErrorSource |
Name of the error source or module to specify the location where the error occured. |