Recommended way to read and write .ini files

前端 未结 4 1252
野性不改
野性不改 2021-02-04 12:23

Are any methods available in VBA to read and write INI files? I know I could use;

Open \"C:\\test.ini\" For Input As #1

...and parse the data.

4条回答
  •  轮回少年
    2021-02-04 13:06

    Karl Peterson's kpini has just about everything you're likely to need: API declarations, a Cinifile class, stuff like that. I'd start with that and morph it to taste, which shouldn't take long.

提交回复
热议问题