VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Write a section of data to an INI file using WritePrivateProfileSection API

by Karthikeyan (187 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 17th January 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Write a section of data to an INI file using WritePrivateProfileSection API

Rate Write a section of data to an INI file using WritePrivateProfileSection API



'Write a section in the user defined INI file 
x = WritePrivateProfileSection("Karthik", "Grade=Best", "G:\myagent.ini") 
'Note : When executing next line the previously written value Grade=best will be erased 
x = WritePrivateProfileSection("Karthik", "[email protected]", "G:\myagent.ini") 
End 
End Sub

Download this snippet    Add to My Saved Code

Write a section of data to an INI file using WritePrivateProfileSection API Comments

No comments have been posted about Write a section of data to an INI file using WritePrivateProfileSection API. Why not be the first to post a comment about Write a section of data to an INI file using WritePrivateProfileSection API.

Post your comment

Subject:
Message:
0/1000 characters