Share via


Projects Collection (Visual FoxPro)

A collection of project objects.

Projects

Remarks

Applies To: _VFP System Variable | Application Object

A projects collection provides access to project objects, making it possible for you to manipulate a project and files and servers within the project.

Items in projects collection can be referenced by index number or by name. For example, the following code rebuilds the most recently opened project:

_VFP.Projects(1).Build( )

The following code rebuilds the project named MyProject:

_VFP.Projects('MyProject.pjx').Build( )

For more information about the projects collection, see Project Manager Hooks.

See Also

Reference

Projects Collection Properties, Methods, and Events (Visual FoxPro)

File Object (Visual FoxPro)

Files Collection (Visual FoxPro)

Project Object (Visual FoxPro)

ProjectHook Object

Server Object

Servers Collection

Other Resources

Objects, Collections, and Classes