The information in this article applies to:
SUMMARYOne of the new features of Visual FoxPro 6.0 is the Project Object. The Project Object allows the programmatic manipulation of the project's contents, such as adding and deleting files, enumerating the files and types, building various file types, modifying version, author information, and so forth. MORE INFORMATION
The Online documentation describes in detail the Project Object and its
components. This document explores the components of the Project Object and
describes how you can access the object model. The attached sample file
shows some of the more simple operations that you can perform with the
Project Object. Hopefully, the example will spur more creative use of this
new functionality.
You can use the following line to determine how many project objects currently exist:
The various other Project Object properties are listed in the Online
documentation and are not fully demonstrated in this article.
Files can be programmatically added to the Project as follows:
A description for the file can be programmatically added as follows:
Other components of the Project Object are described in the Programmer's
Guide, Chapter 32, titled "Application Development and Developer
Productivity".
REFERENCES
Visual FoxPro Help: search on: "Project Object"; "ActiveProject"; "Projects
Collection"; "Files Collection"; "File Object"; "ProjectHooks"
Additional query words: kbVFp600 kbProjManager
Keywords : |
Last Reviewed: August 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |