QueryAddFile Event

Applies To   See Also

Occurs just before a file is added to a project.

Syntax

PROCEDURE Object.QueryAddFile
[LPARAMETERS cFileName]

Parameters

cFileName

Contains the name of the file to add to the project. cFileName is passed to the QueryAddFile event after the Add method is executed, you choose Add in the Project Manager, or you choose Add File from the Project menu.

Remarks

Include NODEFAULT in the QueryAddFile event to prevent a file from being added to the project.