>Ok, that part is working, but it's not finding my entry. I'm assuming that everything is case sensitive.
>
>The ini file looks like:
>
>[DATA]
>testdata=D:\temp\data
>
>Does the ini file have to be located in the system directory? I want it located in the same directory of my app.
You have to specify the full path of the INI file. Because this class acts as a wrapper to the WinAPI to parse the file, I don't where it attempts to llok for it. If it's in the same directory as your startup directory then you can use curdir():
oApp.GetINIEntry(@lcmyvalue ,"DATA","testdata",cudir()+"\test.ini")
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao