VB Code:
Public Function GetSett(Section As String, Entry As String, strbuff As String, jPLace As String) As String strbuff = String(256, 0) c = GetPrivateProfileString(Section, Entry, _ "", strbuff, Len(strbuff), jPLace) GetSett = Left$(strbuff, c) 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![]()





Reply With Quote