🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #3664

Re: Can I create Access Database File with Microsoft Jet?

#3664
From: Vassiliev V.V.
Date: Fri, 28 Jun 2002 10:59
41 lines
2133 bytes
Import ADOX library.

The code is for Delphi:

uses
    ADOX_tlb;

var
 dbFile: string;
 cat: Catalog;
begin
 dbFile := ExtractFilePath(ParamStr(0)) + 'test.mdb';

 cat := CoCatalog.Create();
 cat.Create('Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' + dbFile);
 cat := nil;
end;

Regards,
Vassiliev V.V.
http://www.oledbdirect.com


"Joachim" <mfgjojo@gmx.de> �������/�������� � �������� ���������:
news:3d1c03d2$1_1@dnews...
> Hi,
> what is if I have no Access Database and want to create one. I did not
found
> out how to create a Database file with ADO(MS Jet4.0). Is there a way to
do
> this or do I always have to first create one with Access? Lets say I want
to
> develope a Database Application which uses Access Databases. I can not
claim
> the user to create a Database first with Access before he can work with my
> App each time he want to create a new Database.
>
> Thanks,
> Joachim
>
>
Technical Details
Message-ID: <3d2334e2$0$221$4d4ebb8e@read.news.nl.uu.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!msc1.onvoy!onvoy.com!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!bnewspeer01.bru.ops.eu.uu.net!bnewsifeed03.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.nl.uu.net!not-for-mail
References: <3d1c03d2$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,3b705fe2746e35a0
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-03 10:34:45 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!msc1.onvoy!onvoy.com!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!bnewspeer01.bru.ops.eu.uu.net!bnewsifeed03.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.nl.uu.net!not-for-mail
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d1c03d2$1_1@dnews>
Subject: Re: Can I create Access Database File with Microsoft Jet?
Date: Fri, 28 Jun 2002 14:59:13 +0400
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 43
Message-ID: <3d2334e2$0$221$4d4ebb8e@read.news.nl.uu.net>
NNTP-Posting-Host: bastion1.hiscom.nl
X-Trace: 1025717474 read.news.nl.uu.net 221 130.78.143.1
X-Complaints-To: abuse@nl.uu.net