Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using WritePrivateProfileString function to delete a section of an ini

Status
Not open for further replies.

guru533

MIS
Aug 22, 2002
25
US
Does anybody know how to use the "WritePrivateProfileString" Function to delete a section within an ini file?
 
Hi,

Public Sub DeleteSection(Section As String)
Dim cNull As String
WritePrivateProfileString Section, cNull, cNull, FileName
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top