For VB.NET, the following Module can be used: Module modINI Private Declare Unicode Function WritePrivateProfileString Lib "kerne...