tcn File

A .tcn file is a text file that corresponds to an application. Typically (though not always) the .tcn file has the same name as the original ToolBook application with a ".tcn" extension. You must have an application's .tcn file to translate its sources.

 

The .tcn file contains a list of sources, database setup information, global settings, and other information used by the Hotword Connection Translator.

 

In order to translate an application, you must first specify its .tcn file in the Select Sources window.

 

The .tcn file entries for a sample application are listed here for reference only.

 

.tcn File Entries

 

Explanation

[ODBC]

Provider=MSDASQL

Driver=Microsoft Access Driver (*.mdb)

DriverId=25

Fil=MS Access

ImplicitCommitSync=Yes

MaxBufferSize=512

MaxScanRows=8

PageTimeout=5

SafeTransactions=0

Threads=3

DatabaseTerm=DBQ

 

The [ODBC] section holds information used in connecting to the Access databases.

[sources]

source1=Basketball

source2=Tennis

 

The [sources] section lists the sources defined for the application.

[current]

hotwordSource=Basketball

 

The [current] section shows which source is currently active.

[Hotword Connection]

globalHotwordSetting=rtfContent

useHotwordGraphics=true

rtfBackupSetting=true

useHotwordName=true

 

The [Hotword Connection] section stores global settings.

[source Basketball]

hotword=databases\hotword-Bball.mdb

 

[source Tennis]

hotword=databases\hotword-Tennis.mdb

 

There is a [source <sourceName>] section for each defined source. Each such section stores the corresponding database location, and passwords and user names (encrypted) if applicable.