"Mike" <md*****@nospam.com> wrote in message news:Ov*************@TK2MSFTNGP09.phx.gbl...
VB .NET version 2003
What is the equivalent of GetSetting when trying to read a .INI file. I'm trying to read a .INI file and can't find
anything that will help.
Look up the following API functions in the Platform SDK
GetPrivateProfileInt
GetPrivateProfileSection
GetPrivateProfileSectionNames
GetPrivateProfileString
GetPrivateProfileStruct
WritePrivateProfileSection
WritePrivateProfileString
WritePrivateProfileStruct
Note that INI files only contain strings, hence there
is no WriteProfileInt function.
When reading/writing specifically to WIN.INI, use
the following instead:
GetProfileInt
GetProfileSection
GetProfileString
WriteProfileSection
WriteProfileString