Spacing in INI files

  • Thread starter Thread starter Adam Honek
  • Start date Start date
A

Adam Honek

When I write several sections to an INI file they're sll
one after each other without any line space in between.

Anything I should look out for? It's not the Trim() I'm
using on the values...

Adam
 
When I write several sections to an INI file they're sll
one after each other without any line space in between.

Anything I should look out for? It's not the Trim() I'm
using on the values...


Use &VBCRLF - this will add a line break.

How are you writing the INI file... is it with a custom parser?
 
I'm doing it as follows:

'Attempt to write the data to the INI file

Response = WritePrivateProfileString(sSectionName, sKeyName, sValue,
sFilePath)

I'll try what you suggested now.

Adam
 
Back
Top