I'm creating my first (simple) application and I like to save the config.. I have been playing around with this this Which works, but i'd like to see "name=value" in the config file.. I've already adapted the write part, but the reading part is giving me headaches So my question to you is :sign0085: The code in the tutorial is reading the ini file line by line, this also prevents comments (which I would also like I think I might be able to use the StrIndexOf and then a StrSlice, but first things first.. I was thinking something like the below to start with (bold part is changed) Code: Sub LoadINI ErrorLabel(errLoadINI) If Not(FileExist("Config.ini")) Then Return FileOpen(c2,"Config.ini",cRead) [B]CheckBox1.Checked = StrSplit(FileRead(c2),"=") CheckBox2.Checked = StrSplit(FileRead(c2),"=")[/B] FileClose(c2) Return errLoadINI: Msgbox("Error reading INI file.","",cMsgboxOK,cMsgboxHand) FileClose(c2)End Sub the only issue with this is that there is no value assigned to the CheckBox Because i'm not specifying which part of the split I want to use... I couldn't find how to do this, I tried the JScript way, but that didn't work :-( Any help is highly appreciated Thanks!