Public Sub Delete_ini_item(ByVal Appname As String, ByVal Itemname As String)
WritePrivateProfileString Appname, Itemname, 0&, App.Path &inifilename
End Sub
执行删除text1
delete_ini_item "I","Text1"
删除节点及节点中所有值Public Sub EraseSection(ByVal Section As String, ByVal FileName As String)
WritePrivateProfileString Section, Null, Null, FileName
End Sub
删除指定值Ident
WritePrivateProfileString(Section, Ident, null, FileName)
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)