TOracleLogOn HistoryIniFile

gczobel

Member
Hi!
I see that the logon history is stored in the Windows root folder. (C:\Winnt in my case)
It's possible to change the path to store the file in the application path?

Thanks
 
Yes, you can set the HistoryIniFile to any absolute filename. At runtime, you can do something like this to save the logon history in a LogonHistory.ini file in the application directory:

MyLogon.HistoryIniFile := ExtractFilePath(ParamStr(0)) + 'LogonHistory.ini';
 
Back
Top