Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[Application Settings]
AutoLogin=0
[Connection Strings]
AppConn=Data Source=MyServer;Initial Catalog=MyDB;User ID=sa;Password=MyPassword;Provider=SQLOLEDB.1;Persist Security Info=True
UserConn=Data Source=UserServer;Initial Catalog=UserDB;User ID=user;Password=UserPassword;Provider=SQLOLEDB.1;Persist Security Info=True
uses
IniFiles;
var
AutoLogin: Bool;
AppConnStr: String;
UserConnStr: String;
function LoadSettings(const AFilename: String);
var
I: TIniFiles;
begin
I:= TIniFile.Create(AFilename);
try
AutoLogin := I.ReadBool('Application Settings', 'AutoLogin');
AppConStr := I.ReadString('Connection Strings', 'AppConn');
UserConStr := I.ReadString('Connection Strings', 'UserConn');
finally
I.Free;
end;
end;