uses
ComObj;
procedure TForm1.Button1Click(Sender: TObject);
var
AccessApp: Variant;
begin
AccessApp := CreateOleObject('Access.Application');
AccessApp.NewCurrentDatabase('c:\111.mdb');
AccessApp := Unassigned;
end;
Here you can find some interesting and useful Delphi tips. I will be glad if you can share your knowledge with other people by posting comments and any other kind of useful information regarded to Delphi. Thank You!
No comments:
Post a Comment