|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Spacing in INI filesWhen 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 "Adam Honek" <AdamHo***@Webmaster2001.freeserve.co.uk> wrote in news: #tBdlJ0YGHA.3***@TK2MSFTNGP04.phx.gbl:> When I write several sections to an INI file they're sll Use &VBCRLF - this will add a line break.> 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... 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 Show quoteHide quote "Spam Catcher" <spamhoneypot@rogers.com> wrote in message news:Xns97AA100EB8076usenethoneypotrogers@127.0.0.1... > "Adam Honek" <AdamHo***@Webmaster2001.freeserve.co.uk> wrote in news: > #tBdlJ0YGHA.3***@TK2MSFTNGP04.phx.gbl: > >> 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?
Emailing with default client
Regular Expression Help...Line Break Reference different versions of an ActiveX-dll Writing INI section failing 1.1 and 2.0 .Net framework in same application? Is it possible to compile an image file into a DLL or EXE file? Dynamically reading structure fields Two way collection checking for element in xml document Desktop integrated file browser |
|||||||||||||||||||||||