VFP 9.0 Report Features in Runtime

In order to deploy VFP 9.0 object-assisted report features in runtime, the REPORT*.APP files have to be distributed with your application and their location stored into _REPORT* system variables.
The error 'Variable _REPORTOUTPUT is not found' may be generated if they are not populated properly.

Windows limitations on file and path name

The limitations have been pulled from Windows SDK header file


* Maximum length of full pathname
#define MAX_PATH 260
* Maximum length of path component
#define MAX_DIR 256
* Maximum length of file name component
#define MAX_FNAME 256
* Maximum length of extension component
#define MAX_EXT 256

Windows API support class

The class below simplifies use of Windows API function by providing methods to convert data between VFP types and Windows API types/structures

Most of the code was borrowed from Heap allocation class (clsheap) by late Ed Rauh.

View PDF in VFP Form

MS Web Browser control can be used to display contents of different type of files, including PDF.

VFP implementation of the Cipher encryption

This is a VFP implementation of the Cipher encryption. Cipher50 C source code and the binary is available as separate downloads File #21474 and File #9222 at http://www.UniversalThread.com.

Cipher was originally put into the public domain by Tom Rettig Associates in 1991 and has been re-produced by different parties as necessary for newer versions of FoxPro. Obviously, the VFP implementation is much slower than the C library and should be used for short strings, like passwords, only. The code has been tested under VFP 8.0 and VFP 9.0 but should work in previous versions. If it doesn't, feel free to modify it.

Using XmlAdapter to Create and Load Nested XML

An XmlAdapter in VFP 9.0 allows to create and load nested XML.

Using Sparse Files sample

Sparse files are only supported under Windows 2000 and later and the file must be on a volume that is NTFS 5.0 or later.

String comparison in VFP

FoxPro has two distinct parts. The SQL Data Engine that handles SQL command: SELECT, INSERT, UPDATE and DELETE and the rest that handles procedural code. There are differences in string comparison between them. The SET ANSI command controls comparison in the SQL Data Engine and the SET EXACT does the same in the procedural code.


Subscribe to The Bereznikers RSS
_REPORT* system variables
File System Variable Notes