The MSDN docu on WritePrivateProfileString states that setting to NULL the value parameter will delete the key. Tried to follow that and it did deleted the key name and value pair, BUT left the equal sign.
Is that a norm with the function? Or am I missing something?
I used the ffg similar code:
TIA
Code:
[section1]
key1=value1
= 'equal sign left!!!
I used the ffg similar code:
Code:
Dim pvarReturn
pvarReturn = WritePrivateProfileString("section1","key2",vbNullChar,"C:\TEMP\test.ini")
TIA