By using a .ini File to save some settings i need to ensure that the .ini File is created in the current App Path.

At the moment the ini is located to C:\WINNT

i do like following:

SetINIEntry = WritePrivateProfileString(ByVal Eintrag, ByVal Section, ByVal Value, ByVal FileName)

Is there a way to set the ini to App.Path?

Thx,

Susn