Formating a date as a date string for a locale specified
The GetDateFormat Windows API function formats a date as a date string for a Locale Identifier specified. The formatting is controlled either by flags or by the formatting string, if provided. The function accepts SYSTEMTIME Structure as one of its parameters.
ActiveX security updates for VFP 8.0 and VFP 9.0
MS security bulletin MS08-070 - Vulnerabilities in ActiveX Controls Could Allow Remote Code Execution (932349)
lists MS products affected including VFP 8.0 and VFP 9.0
GDI+ security updates for VFP 8.0 and VFP 9.0
MS security bulletin MS08-052 - Vulnerabilities in GDI+ Could Allow Remote Code Execution (954593) lists many MS products affected including VFP 8.0 and VFP 9.0
How to disable Task Pane Manager
Either of below will disable Task Pane Manager launch on VFP startup:
Retrieving Printer Capabilities
In Enumerating printer forms article the DeviceCapabilities
function is used to mark print forms supported by particular printer. It can be used to retrieve other printer capabilities as well.
Getting additional info about pressed keyboard or mouse keys
The GetKeyState
function retrieves the status of the specified virtual key.
VFP 9.0 Versions
VFP 9.0 version information for service packs and hotfixes.
Verify ActiveX presence and registration
An ActiveX installation on PC can be verified by finding its ProgID from OleClass property in the registry.
Add and delete custom printer forms
To distribute applications that use reports with custom paper size you have to create custom printer forms on every destination PC that runs Windows 2000 or later. The MS KB article Q157172
explains how it can be done manually. However there's a way to do that programmatically using Windows API.