How to disable Task Pane Manager
Either of below will disable Task Pane Manager launch on VFP startup:
- Click on the Task Pane's Options, Select Task Pane Manager in the treeview and uncheck Open the Task Pane when Visual FoxPro starts
- Go to Tools, Options, File Locations and clear Startup Program. Click on Set As Default to save changes.
- In the RegEdit go to the HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\9.0\Options key and blank out Data for Value Name _STARTUP.
- Add _STARTUP= to a config.fpw. Only VFP instance that uses this config.fpw will be affected.
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.
VFP Team releases another hotfix for VFP 9.0 SP2
A hotfix for a bug in VFP 9.0 SP2 FIX: Records from another user session that violate the criteria for a parent table are displayed in the browse window for a child table in a Visual FoxPro 9.0 Service Pack 2 multiuser environment has been released.
Installing the hotfix will update VFP 9.0 SP2 to the version 9.0.0.6602
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. Contrary to what MSDN says, it returns the list of all printer forms on PC, not just for the specific printer. On other hand, DeviceCapabilities can return a list of supported paper sizes for the printer.
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
Recent comments
1 week 2 days ago
1 week 6 days ago
2 weeks 3 days ago
5 weeks 3 days ago
6 weeks 2 days ago
6 weeks 4 days ago
11 weeks 20 hours ago
11 weeks 2 days ago
12 weeks 4 days ago
13 weeks 3 days ago