Einen INI Eintrag und den dazugehörigen Wert löschen
Private Declare Ansi Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" ( _
ByVal lpApplicationName As String, _
ByVal lpKeyName As String, _
ByVal lpString As String, _
ByVal lpFileName As String) _
As Integer
Public Sub DeleteKey(ByVal INIFile As String, ByVal Section As String, ByVal Key As String)
WritePrivateProfileString(Section, Key, Nothing, INIFile)
End Sub
Kommentare zum Snippet