So to use it in VB.NET you can do this [Taken From Here]
Code:
<DllImport("kernel32.dll", SetLastError:=True)> _
Private Shared Function WritePrivateProfileString(ByVal lpAppName As String, _
ByVal lpKeyName As String, _
ByVal lpString As String, _
ByVal lpFileName As String) As Boolean
End Function
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Sat Feb 23, 2008 5:56 am Post subject:
There are a ton of classes made for VB6 for reading and writing to INI files. You can find a lot over at Pscode.com, or you can find a more professional one on VBAccelerator's website.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum