AError() function returns extended information for errors 1104 and 1105 in Visual FoxPro 9.0 SP2

topic: 

Visual FoxPro 9.0 Service Pack 2 improves the capability of the AError() function for errors 1104 - Error reading file, and 1105 - Error writing file. For these errors only, the array produced by AError() contains additional error information consisting of the underlying operating system error number and error text. The error number and error text are stored in the AError() array, elements 6 and 7 respectively.

Retrieving version of VFP OLE DB provider

A version of VFP OLE DB provider installed on computer can be retrieved from provider itself or from its DLL through the registry.

Not enough memory for file map (Error 1150)

topic: 

The explanation for the error isn't too helpful and even confusing as the error often shows up on computers with plenty of memory.

Check if EXE is running and optionally terminate it

topic: 

Fix VFP file associations to open files in one VFP instance

The files associated with VFP are opened in a new instance of VFP when double-clicked or 'Open' verb is executed on them. It's configured in Windows not in VFP.

Cannot access the selected table (Error 1152)

topic: 

The error is related to the RowSource or ControlSource of a ListBox/ComboBox.

Is user a member of the Administrators group

Sometimes it's important to know if application is running under account that is a member of the Administrators group. There're a few ways to accomplish that.

Obtaining DLL-specific version information

topic: 

Most Windows Shell and common controls DLLs implement DllGetVersion function. It allows applications to obtain DLL-specific version information to make sure that required functionality in a DLL is implemented. The Windows API support class

is used to handle Windows API structures.

VFP implementation of GetZipComment and GetZipFilesList for ZIP acrchives

topic: 

VFP class below allows retrieval of a ZIP file comment or a list/count of files in the ZIP archive. It uses VFP low level file functions (LLFF) to directly read the ZIP file.

Generate GUID

UDF below generates 128-bit GUID and returns it as a string in the format 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'.

MSDN:

Pages