Copy RTF Text to Clipboard
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.
Enumerating printer forms
Enumerating of printer forms can be done with Windows API EnumForms function.
Get number of jobs in print queue
The number of jobs in print queue can be retrieved by simplified version of Enumerating jobs in print queue
Enumerating jobs in print queue
Enumerating jobs in print queue can be done with
- WMI Win32_PrintJob class
- Windows API EnumJobs function.
How to delete all Print Jobs from a print queue
All jobs from a print queue can be deleted with
- WMI Win32_Printer class and CancelAllJobs method
- Windows API SetPrinter function.
Commenting via shortcut keys in VFP
The comment/uncomment items on the Format menu do not have shortcut keys but they have access keys assigned. Pressing ALT+om and ALT+on on a keyboard will comment/uncomment selected text respectively.
VFP Team releases first hotfix for VFP 9.0 SP2
A hotfix for a bug in VFP 9.0 SP2 FIX: The toolbar on an SDI form is disabled in Visual FoxPro 9.0 Service Pack 2 has been released.
Send email via Gmail account
The Gmail SMTP server requires SSL connection on port 465.
Recent comments
2 weeks 15 hours ago
2 weeks 1 day ago
2 weeks 1 day ago
5 weeks 1 day ago
9 weeks 5 days ago
9 weeks 5 days ago
10 weeks 4 days ago
11 weeks 3 days ago
12 weeks 5 days ago
12 weeks 5 days ago