Write a string data to an INI file using WritePrivateProfileString API
Write a string data to an INI file using WritePrivateProfileString API
Rate Write a string data to an INI file using WritePrivateProfileString API
(2(2 Vote))
' Set the value India to "country" in the [ReleaseSoft] section of G:\myagent.ini .
'Also set the value 14 to "zip" under the same section
Dim retval As Long ' return value
' Set the string value.
retval = WritePrivateProfileString("ReleaseSoft", "country", "India", "G:\myagent.ini")
' Set the numeric value.
retval = WritePrivateProfileString("ReleaseSoft", "zip", "14", "G:\myagent.ini")
End
End Sub
Write a string data to an INI file using WritePrivateProfileString API Comments
No comments yet — be the first to post one!
Post a Comment