Progress
Installation and Configuration Guide
Version 9
for Windows


The progress.ini File and the Windows Registry

The progress.ini file sets up the user interface environment for Progress applications running on Windows and is an important part of deploying a localized application. It controls parts of the environment that vary across locales, and it allows you to specify colors and fonts.

Progress supports the use of the Windows registry on Windows NT, Windows 2000, Windows 98, Windows Me, and Windows XP, and searches the registry first for system configuration information. However, you can still use an initialization file to ensure that deployed applications are configured correctly and consistently at customer sites. The information from the .ini file can be added to the registry upon installation.

Be sure to create and edit the progress.ini file on a system configured like the target system on which you intend to run it. For example, Japanese font names might use Japanese characters. You should edit a progress.ini file for use in Japan on a system supporting Japanese.

If you edit the progress.ini file, run ini2reg to update the registry.

The sections of the progress.ini file that can typically affect a localized application are the [Startup], [WinChar Startup], and [fonts] sections.

[Startup] and [WinChar Startup]

The [Startup] and the [WinChar Startup] sections contain Progress environment-variable settings. The [Startup] section includes the variables for GUI clients, and the [WinChar Startup] section includes the variables for character clients, WebSpeed Agents, and the AppServer.

Table D–4 lists the environment variables that a typical localized application might need.

Table D–4: Environment Variables 
Environment Variable
progress.ini File Section
Description
DefaultFont
[Startup]
The default display font.
DefaultFixedFont
[Startup]
The default-fixed display font.
PrinterFont
PrinterFont1
PrinterFont2
PrinterFont3
The font that the printer uses for the Progress OUTPUT TO PRINTER statement.
PROMSGS
[Startup]
[WinChar Startup]
The promsgs file that an application should use. For example, for a Progress application to access Swedish translations of Progress error messages, set PROMSGS to
c:\Program Files\Progress\prolang\swe\promsgs.swe.

[fonts]

The [fonts] section of the progress.ini sets the fonts that a Progress application running on that system uses. The default progress.ini file that Progress supplies in the United States sets the following fonts:

font0=Courier New, size=8
font1=MS Sans Serif, size=8
font2=Courier New, size=8
font3=Courier New, size=8
font4=MS Sans Serif, size=8
font5=MS Sans Serif, size=10
font6=MS Sans Serif, size=8, bold
font7=MS Sans Serif, size=8 

These font settings might not apply to all the locales where your application will run. Some of the %DLC%\prolang directories contain progress.ini files with font settings appropriate for that country.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095