VB Code:
  1. Public Function GetSett(Section As String, Entry As String, strbuff As String, jPLace As String) As String
  2.             strbuff = String(256, 0)
  3.                 c = GetPrivateProfileString(Section, Entry, _
  4.                            "", strbuff, Len(strbuff), jPLace)
  5.                     GetSett = Left$(strbuff, c)
  6. End Function

Ive written this nice sub just to read an ini file, but im wondering..is it possible to read a line by an not-exact name? i could read it by regular I/O but this is much faster