Hello
I'm starting to use an ini-file for my project after been reading alot of Q&A's here. My simple Q is this
I uses this code to save to my ini but I wan't an empty row in before every Heading to make the ini-file easier to interpret.
But when I use this code, my ini-fiel only contains this: [] =
How can I insert an empty row before every Heading??Code:For intX = 0 To 5 strHeading = txtHeading.Text & intX For intY = 0 To 10 lngResult = WritePrivateProfileString(strHeading, txtKey.Text & intY, txtValue.Text, strFileName) Next intY 'I want an empty row lngTomRad = WritePrivateProfileString("", "", "", strFileName) Next intX
Thanks




Reply With Quote