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

 

TNBXProfiles.FileName [= String]

 

Delphi Syntax

 

TNBXProfiles.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 in the OCX's directory (the directory where the component is installed). We recommend the use of the tbp extension to identify a profile file (for example: hollis.tbp).

 

See Also Key property, SubKey property of TNB5250X/TNB3270X controls, SubKey property of TNBXEmulator control, SubKey property of TNBXAidHook control, SubKey property of TNBXMacro control and SubKey property TNBXHotSpots collection.