Searches a file for an Entry object and returns the specified entry object.
object.Read(
FileName As String,
Section As String,
Entry As String,
Default As String)
String. The path and the name of the file to read from.
String. The section in the file to read.
String. The value of the entry to be searched.
The default value that is to be returned if the specified entry is not found.
String. Returns the specified Entry object. If the object does not exist, the Default string is returned. If the corresponding string for the object is empty, it returns an empty string.
If FileName does not contain the fully qualified path, this method assumes the current directory.
Refer to the sample in Example to know more about how to write entry and buffer values to a section in a file and how to read the data from the file and print it .