GDIPLUS.DLL security updates for VFP 8.0 and VFP 9.0
MS security bulletin Vulnerabilities in GDI+ Could Allow Remote Code Execution (957488) lists MS products affected including VFP 8.0 and VFP 9.0. It supersedes MS security bulletin MS08-052 - Vulnerabilities in GDI+ Could Allow Remote Code Execution (954593). I blogged about it at GDI+ security updates for VFP 8.0 and VFP 9.0
Powershell - Benchmark Command
Powershell comes with a cmdlet called "Measure-Command" that can execute a block of commands and measure how long it takes to run. It's analogous to the unix "time" command.
What if you want to run something a number of times and take the average?VFP OLE DB provider
The VFP OLE DB Provider allows other programming languages and applications to access Visual FoxPro databases and tables.
How to detect 64-bit OS
On 64-bit Windows the 32-bit Windows-based applications run under WOW64 x86 emulator. WOW64 isolates 32-bit applications from 64-bit applications, which includes preventing file and registry collisions. Console, GUI, and service applications are supported. However, 32-bit processes cannot load 64-bit DLLs, and 64-bit processes cannot load 32-bit DLLs.
Appropriate license for this class not found error at runtime
Code that runs fine in development may generate Appropriate license for this class not found (OLE error code 0x80040112) at run-time.
Retrieving Windows TaskBar Size and Location
A location and size of the Windows Taskbar can be retrieved with SHAppBarMessage Function.
Is variable or property an array?
When validating a function, procedure or method parameters, it's sometimes necessary to determine if passed parameter is an array. Until VFP 9.0 there was no obvious way to do that.
Array Browser utility
Array Browser utility is a development tool to view an array content in a Browse window. Useful in analyzing content of the arrays during development process.
How to change file attributes programmatically
There're many ways to change file attributes. It can be done through Windows Explorer, DOS ATTRIB comand, third party utilites, e.t.c. Also it can be done programmatically using Windows Scripting Host (WSH) or/and Windows API.