Re: Create mdb file with code



TADOXCatalog was not in earlier versions of Delphi. To have it import ADOX
type library ("Microsoft ADO Ext. 2.8 for DDL and Security (Version 2.8)").

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Ugo" <ugo@xxxxxxxxxxx> ñîîáùèë/ñîîáùèëà â íîâîñòÿõ ñëåäóþùåå:
news:45b4b90b$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I've seen many examples on how to create a new (empty) access database
from code. However the code is usually similar to below,
dbName:='c:\aboutdelphi.mdb';

DataSource :=
'Provider=Microsoft.Jet.OLEDB.4.0' +
';Data Source=' + dbName +
';Jet OLEDB:Engine Type=4';

ADOXCatalog1.Create1(DataSource);I'm using Delphi 2006 and cannot find
any reference to a TADOXCatalog that was in earlier versions of Delphi. 2
questions - 1) what happened to this class, and 2) if its gone how does
anyone have an example of what I'm trying to do?Thanks..



.



Relevant Pages

  • Re: slow ADO refresh, ending in error message
    ... Could you provide exact error message and error code ... Vassiliev V. V. ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... > Delphi 7 using their own ADO component. ...
    (borland.public.delphi.database.ado)
  • Re: OleVariant
    ... In older Delphi no special includes needed. ... Regards, ... Vassiliev V. V. ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ...
    (borland.public.delphi.database.ado)
  • Re: Betterado error in Delphi 2006
    ... Vassiliev V. V. ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase ... The same program is working without an error in Delphi 7 on the same PC. ...
    (borland.public.delphi.database.ado)
  • Delphi 2006 and SQL Server
    ... Congratulations to all the guys at Borland. ... Delphi 2006 is a great ... The application that I have developed is a Delphi VCL Win32 ... there has not been enough emphasis at Borland to support SQL Server. ...
    (borland.public.delphi.non-technical)
  • Re: SQL Server Mobile Edition & C#
    ... Sorry but I am not familiar enough with Delphi 6 to answer. ... >> .Net Compact Framework MVP ... >>>>> and modify SQL Server Mobile databases using the SQL server GUI. ...
    (microsoft.public.dotnet.framework.compactframework)