Author | Message | Time |
---|---|---|
Topaz | Anyone know how to do this? | August 24, 2005, 8:25 AM |
UserLoser. | August 24, 2005, 12:56 PM | |
Yegg | Or you could make your own function for this. You could append all lines (or characters) to an array and inside the array edit out any lines that you must. Then for each line (or character), write them back to the file. | August 24, 2005, 1:38 PM |
Myndfyr | ...which would probably be entirely less efficient than WritePrivateProfileString. | August 24, 2005, 3:13 PM |
Quarantine | Would also defeat the purpose of an INI file (prevent writing to a file yourself, as opposed to having settings which are editable whenenver) | August 24, 2005, 5:48 PM |
Topaz | wtf, VB6 is telling me that Null is invalid, and yet it says I can do it in MSDN! >confusion | August 24, 2005, 6:02 PM |
Myndfyr | You should use 0 instead of vbNull and pass it as an integer. | August 24, 2005, 6:33 PM |
UserLoser. | Or use vbNullString like you probably should be? | August 24, 2005, 7:40 PM |