Project
This is one of the Automation objects, exposed in VFP 6, that give us programmatic access to projects and their contents. Every time a project opens, a corresponding project object is created. The Projects collection is composed of Project objects. (Doesn't that have a nice ring to it—"project object"?)
Property |
Value |
Purpose |
Logical |
Indicates whether the project's version number is incremented every time the project is built. |
|
DateTime |
Contains the date and time of the most recent build of the project. |
|
Logical |
Indicates whether debugging information is stored with the project. |
|
Logical |
Indicates whether compiled source code in the project is encrypted to provide a measure of extra security. |
|
Character |
Contains the path to the home directory for the project. |
|
Character |
Contains the file name for the icon used for an EXE built from the project. |
|
Character |
If an ActiveDoc is the main object for the project, contains the name of the ActiveDoc class. |
|
Character |
If a form or program is the main object for the project, contains its file name. If an ActiveDoc is the main object, contains the name of the class library containing the ActiveDoc class. |
|
Character |
Contains the path and file name for the project. |
|
Object |
If a project hook has been created for the project, contains a reference to it. |
|
Character |
If the project has a project hook, contain the class name and class library name, respectively. |
|
Character |
Contains the name of the source control provider for the project. |
|
Character |
If the project contains server classes, contains the name of a help file for the type library for those classes. |
|
Character |
If the project contains server classes, contains the name assigned to the project for Automation purposes. This is used along with the actual class name to instantiate the server classes. By default, this is the same as the project name. |
|
Character |
If the project contains server classes, contains the unique ID created for registering the type library for those classes. |
|
Character |
If the project contains server classes, the description for the type library for those classes. |
|
Character |
If the project contains server classes, the name of the type library for those classes. |
|
Character |
The comments from the Version dialog. |
|
Character |
The company name from the Version dialog. |
|
Character |
The legal copyright information from the Version dialog. |
|
Character |
The file description from the Version dialog. |
|
Numeric |
The language ID from the Version dialog. |
|
Character |
The three-part version number from the Version dialog. |
|
Character |
The product name from the Version dialog. |
|
Character |
The legal trademarks from the Version dialog. |
Method |
Purpose |
Rebuilds the project or builds the project into an APP, EXE, or DLL. |
|
Packs a project file, optionally stripping the object code. |
|
Closes the project. |
|
Updates the visual display of the project and can update the source control status. |
|
Sets a file or class as the main object for the project. |