RC-WinTrans Object Model Help |
DirectoryTool.GetStringFromIniFile
|
Gets the value from the given INI file.
Syntax: |
GetStringFromIniFile( Section As String, Key As String, IniFile As String ) As String |
| Return: | String |
| Parameters: |
Section Section of the INI file where the string stands. Key Key of the string. IniFile Name and path of the INI file.
|
| Example: | Dim Tool As DirectoryTool
Dim UserName As String
Set Tool = Application.Tools.DirectoryTool
UserName = Tool.GetStringFromIniFile("User", "Name", _
Tool.GetApplicationINIFile)
|
See also: