vfp
Send email via MSN email account
MSN SMTP server requires SSL connection on port 25.
Send email via Yahoo mail account
Yahoo SMTP server requires SSL connection on port 465.
Remove Structural CDX or Memo flag from a table
The VFP low level file functions (LLFF) can be used to open a table as a file and read/write its header. The Table Header Record Structure is documented in VFP help under Table File Structure.
Note 1 Removing Structural CDX flag will effectively disassociate CDX file from the table but not delete the CDX file.
Note 2 Removing Memo flag will allow to open a table and access all fields excluding memo fields. Attempt to access the memo fields will generate an error.
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
VFP OLE DB provider
The VFP OLE DB Provider allows other programming languages and applications to access Visual FoxPro databases and tables.
The VFP OLE DB Provider is 32-bit dll (VfpOleDB.dll) and cannot be used by 64-bit applications.
VFP OLE DB provider can be downloaded from here. It's the same version as the one included with Visual FoxPro 9.0 SP2.
Retrieve HTML from Clipboard
MSDN:
| This is sample code. Add error handling and adjust to your requirements as necessary. |
lcHtml = HtmlFromClipboard() IF NOT ISNULL(lcHtml) lnStartHTML = VAL(STREXTRACT(lcHtml, "StartHTML:", "")) lnEndHTML = VAL(STREXTRACT(lcHtml, "EndHTML:", "")) * If StartFragment is present, retrieve HTML fragment IF ("StartFragment" $ lcHtml)
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.
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.
Recent comments
1 week 22 hours ago
1 week 22 hours ago
1 week 1 day ago
1 week 1 day ago
1 week 1 day ago
2 weeks 1 day ago
6 weeks 2 days ago
7 weeks 3 days ago
7 weeks 3 days ago
8 weeks 1 day ago