FileName Property (Read/Write)

Top  Previous  Next

Sets or gets the file name for a profile. This file will be used to save a profile or to load an existing one.

 

Visual Basic Syntax

 

TNBProfiles.FileName [= String]

 

Delphi Syntax

 

TNBProfiles.FileName [:= String];

 

 

Remarks

 

Internally a profile file is divided in sections and subsections (keys and subkeys). You can use only one file for all kind of profiles you want to save, for example: connections, keyboard maps, macros, screen styles and hotspots, or one file for each kind of profile.

 

Sections can be accessed through Key property and subsections through SubKey property.

 

If you don't specify a directory, the file must be located in the component's directory (the directory where the component is installed). We recommend to use the tbp extension to identify a profile file (for example: hollis.tbp).

 

See Also Key property, SubKey property of TNB5250/TNB3270 components, SubKey property of TNBEmulator control, SubKey property of TNBAidHook control, SubKey property of TNBMacro control and SubKey property TNBHotSpots collection.