Article View: borland.public.cppbuilder.database.ado
Article #4825Re: Createing a blank database
From: Freshy
Date: Sat, 06 Oct 2001 23:36
Date: Sat, 06 Oct 2001 23:36
25 lines
1628 bytes
1628 bytes
Try using ADOX. It is a part of MDAC and it has a Catalog object which supports a Create method. The DLL's and type libraries should be in c:\Program Files\Common Files\System\ado. Specifically, msadox.dll. Ken "Shawn Lammers" <slammers@nospam.smartire.com> wrote in message news:3ba8e563_2@dnews... > I have a program where the user can create a new Access database. Currently > the program just uses the windows CopyFile command to copy a blank Access > database to the new one the user wants and then starts using it. Is there a > way using ADO that you can create a blank database directly? > > Similarly, is there a way to Compress and Repair access databases through > ADO? I have done this through Visual Basic but can not figure out how to do > it through ADO. > > Shawn > > >
Technical Details
Message-ID:
<3bbf9541_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnewsReferences:
<3ba8e563_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,9a2b7bc579614ea6 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-10-06 16:38:35 PST From: "Freshy" <freshy_s@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3ba8e563_2@dnews> Subject: Re: Createing a blank database Date: Sat, 6 Oct 2001 18:36:12 -0500 Lines: 27 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 NNTP-Posting-Host: 63.149.18.101 Message-ID: <3bbf9541_2@dnews> X-Trace: dnews 1002411329 63.149.18.101 (6 Oct 2001 16:35:29 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews