beautypg.com

Controlling advanced system settings, Descriptions of advanced registry settings – Pitney Bowes MapInfo Professional User Manual

Page 62

background image

Controlling Advanced System Settings

MapInfo Professional has some advanced system settings that cannot be configured through a dialog
box. These settings allow you to control several low-level, technical aspects of how MapInfo Professional
runs. Most users do not need to worry about these advanced settings.

For example, MapInfo Professional has a Dynamic Data Exchange (DDE) time-out setting, which controls
how long MapInfo Professional tries to communicate with other applications during DDE communications.
If you run a MapBasic application, and that application encounters time-out errors during DDE, you may
want to increase the DDE time-out setting. To modify one of MapInfo Professional’s advanced system
settings (such as the DDE time-out setting), use this procedure.

Modifying the Windows Registry

MapInfo Professional stores system settings in the Windows registry. To edit the Windows registry, use
the REGEDT program.

Be very careful when editing the registry; damaging the registry can cause serious
problems in your operating system.

Caution:

For example, to set MapInfo Professional’s Dynamic Data Exchange (DDE) time-out setting, locate the
following key in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\MapInfo\MapInfo\Common

Within that key, edit the DDeTimeout value. If there is no value by that name, create a new value of type
string, and assign the name DDeTimeout to the value. Set the value’s data to be a number, representing
the number of milliseconds (for example, type 30000 to specify a time-out of 30 seconds). For more on
editing the registry, see the online help for REGEDIT or REGEDT32.

Descriptions of Advanced Registry Settings

This section describes advanced settings that are stored in the registry.

Set Polygon Mode or Subdivide Printing in MapInfo Professional by selecting Options >
Preferences > Output Settings.

Note:

DDeTimeout=number

This setting controls MapInfo Professional’s time-out setting in DDE conversations where MapInfo
Professional is the client (the application that initiates a conversation). The number represents
milliseconds. The default value is 10,000 milliseconds (ten seconds). If you run a MapBasic application
that attempts to initiate a DDE conversation, but the conversation fails because the server application
does not respond within the time-out period, you may need to increase the DDeTimeout number.

MaxORACLETILES=number

The number is 0 (zero) or 1 (one). This setting applies when working with Quad-Tree indexed Oracle
tables from versions of Oracle that are older than version 10. A value of 0 (zero) causes MapInfo
Professional to disable spatial query and return all records using client-side clipping. A value of 1 (one)
or more specifies the maximum number of tiles to use per geometry to refine a spatial query. When
creating a spatial index using the old Quad-Tree method, you specify the number of tiles to use. This
value lets you further refine the search by specifying the max number of tiles to use.

MaxFiles=number

This setting must be an integer from 10 to 507, indicating how many files MapInfo Professional can open
simultaneously. This setting does not limit the number of tables you can open, but it does limit the number

MapInfo Professional 12.5

62

Controlling Advanced System Settings