I have copied and pasted this code into by VB.NET project, and .NET does not seem to have a problem with the code, however nothing is being written to my INI file. I have created the INI file by using a File.Create("ExportSettings.ini"), which creates a file in the same directory as my executable, but when I try to write values to the INI file, nothing shows up. Here is my code:

Dim sINIpath as String
sINIpath = "ExportSettings.ini"

If File.Exists(sINIpath) = False then
File.Create(sINIpath)
modINIAccess.INIWrite(sINIpath, "sde", "connectstring", "1")
End If

Any insight would be greatly appreciated!