Saving and retreiving window state

Started by Sean Scott, February 16, 2010, 10:46:29 PM

Previous topic - Next topic

John Montenigro

Jean-Pierre,
Nice work, thanks!

A question about:
    lFileIni = AppIniFile()
Does that simply translate the application's filename from ".exe" to ".ini" ? Or is there something else special going on, like checking file location, etc.?

Thanks,
-John

Jean-pierre Leroy

Yes you're right John it's a just a translation of the application's filename ... here is the function I use:


Function AppIniFile() As String
    Function = Exe.PATH$ + Exe.Name$ + ".ini"
End Function   


Thanks,
Jean-Pierre