Language Reference Guide : B. Dedicated User Classes for .INI File Support : ProfileObject User Class : GetProfileVarchar Method
 
Share this page          
GetProfileVarchar Method
The GetProfileVarchar method returns the value of an entry in a section.
This method has the following syntax:
StringObject = ProfileObject.GetProfileVarchar(Section = varchar(100),
          Keyword = varchar(100), Entry = varchar(100) not null)
Entry should be a variable passed Byref; after the GetProfileVarchar call, Entry contains the value corresponding to the specified keyword in the specified section. The maximum size of the returned value is 100 characters.
If the keyword is found, the method returns TRUE; if not, it returns FALSE. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.
Note:  These are Boolean values, which are not the same as ER_OK or ER_FAIL returned by other methods in this class.