procedure TForm1.FormCreate(Sender: TObject);<br>begin<br> AppPath := ExtractFilePath(Application.ExeName);<br> try<br> ADOConnection1.Close;<br> ADOConnection1.Connected := false;<br> ADOConnection1.ConnectionString := 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' +<br> AppPath + '/Guest.mdb;Persist Security Info=False';<br> ADOConnection1.Connected := True;<br> ADOConnection1.Open;