Condividi tramite


Project Manager Hooks

In previous versions of Visual FoxPro, the only access to a project was through direct table manipulation of the project's .pjx file. In Visual FoxPro, you can access a project programmatically, allowing you to manipulate a project as an object. A project can be manipulated at design time while the project is open in the Project Manager, or at design time and run time without the Project Manager visible.

The following are some of the actions you can perform programmatically on a project:

  • Add or delete files from a project.

  • Add files in the project to source code control applications (such as Microsoft® Visual SourceSafe®) and check files in and out of source code control.

    Note   If you add a project to Visual SourceSafe, for proper mapping to the project, all files contained in the project must be in the project directory or path.

  • Determine the number of files in a project and their types.

  • Open and modify files in the project.

  • Change properties of the project.

  • Change properties of files in the project.

  • Change properties of Automation servers (.dll dynamic-link libraries or .exe executable files) built from the project.

  • Execute code when events occur in the project.

  • Rebuild the project, or build .app, .exe, or .dll files from the project.

With the project manager hooks, advanced developers can create their own project managers with unique customized user interfaces.

See Also

Coverage Profiler Add-Ins | The Project Object Hierarchy | Project Object Architecture | Development Productivity Tools | Coverage Profiler Application