Origin Version (Select Help-->About Origin): 7.5SR5 Operating System: 2000
Hi,
I'd like to add a new key and value to an (nlsf.) ini file with Origin C. How can I do this? I presume I can use writeini to add /alter a value for an existing key.
Origin 7.5's INIFile::WriteInt and INIFile::WriteString will create the keys and sections named as arguments if they don't already exist. (It will even create the INI file if necessary.) This will add a key called MyInt (and sets its value to 50) to the NLSF Control section of NLSF.ini on the user path.