Spacing in INI files

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
 
G

Guest

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?
 
A

Adam Honek

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top