ini files

J Trahair

Well-known member
Joined
May 14, 2008
Messages
175
Location
Spain
Programming Experience
10+
Hi
Are ini files supported by .net? My old VB6 ones write but don't read.
Eg.
mlpAppName = "Path To Database"
mlpKeyName = "Point To"
mlpFileName = mstrAppPath & mstrIniFile
mlpBuffer = Space(255)
mnSize = 255
mnumIniReturn = GetPrivateProfileString(mlpAppName, mlpKeyName, mlpDefault, mlpBuffer, mnSize, mlpFileName)
mlpBuffer = Trim(mlpBuffer)
mdbPath = mlpBuffer

Of course, mstrAppPath & mstrIniFile are both correctly populated.

Thanks

Jonathan
 
Back
Top