Get info from PROJECT.CIT file in Cicode

Anonymous
Anonymous

Enhancement of CitectInfo() function

Version
001 (02-06-2010)

Requirements
Tested on Citect v5.21 to v7.10

Description
CsiCitectInfo() is an enhanced version of the standard CitectInfo() function. It can return any project information that is stored in the project's PROJECT.CIT file, such as name, description, major / minor revision number, creation date / time, default page properties, project ID, etc. Include this CiCode file in your project and call CsiCitectInfo("project",sProjectName,sInfoType). All parameters are documented in the source file.

Author
Patrick van Dijk

Submitter
Patrick van Dijk

Attachments

  • If you are running a project in multiple areas or sites (each with multiple included projects) this is a very good basis for a version control aid. It allows the revision of each project to be displayed on screen (without having to exit to the explorer to get the version info).