"Mike" <md*****@nospam .com> wrote in message news:Ov******** *****@TK2MSFTNG P09.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
GetPrivateProfi leInt
GetPrivateProfi leSection
GetPrivateProfi leSectionNames
GetPrivateProfi leString
GetPrivateProfi leStruct
WritePrivatePro fileSection
WritePrivatePro fileString
WritePrivatePro fileStruct
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
GetProfileSecti on
GetProfileStrin g
WriteProfileSec tion
WriteProfileStr ing