Article View: borland.public.cppbuilder.database.ado
Article #4179Re: Why can't I delete MDB-File after creation?
From: Dmitri Tchekmenev
Date: Mon, 11 Mar 2002 20:10
Date: Mon, 11 Mar 2002 20:10
36 lines
2495 bytes
2495 bytes
Help!!!
How You have managed to compile this code?
After I have imported ADOX and did the same, I have received error message
"Create is not a member of TCatalog" ;-(
Also it was errors in ADODB_TLB.h in (1858, 4478, 4752, 5114, 5674 lines)
"Declaration terminated incorrectly"
All this lines actually contain the same -
__property TOLEBOOL EOF = {read = get_EOF};
(Cursor in error mode is exactly after EOF)
So what to do?
--
BIOBASE Biological Databases / Biologische Datenbanken GmbH
___________________________________________________________
Developer Dmitri Tchekmenev Fon: +49 (0) 5331-8584-22
Halchtersche Stra?e 33 Fax: +49 (0) 5331-8584-71
Geb?ude A108 D-38304 Wolfenb?ttel e-mail: dtc@biobase.de
GERMANY URL:
http://www.biobase.de
* * * * * Portal: http://www.gene-regulation.com * * * * *
"Christian" <csname@hotmail.com> wrote in message
news:2283a52.0203101508.503bd9ec@posting.google.com...
> You can create MDB-Files with the catalog-class you
> get after importing the Type Library for ADOX.
>
> Why can't I delete the MDB-File after destroying the
> catalog-object?
>
> TCatalog *Catalog = new TCatalog(Application);
> Catalog->Create(TVariant("Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=C:\\temp\\test.mdb"));
> delete Catalog;
>
> DeleteFile("C:\\temp\\test.mdb"); // <- This has no effect
Technical Details
Message-ID:
<a6j36t$r08$1@rzcomm2.rz.tu-bs.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-han1.dfn.de!news.tu-bs.de!not-for-mailReferences:
<2283a52.0203101508.503bd9ec@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,d5cc9c030d80071b X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-03-11 12:14:28 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-han1.dfn.de!news.tu-bs.de!not-for-mail From: "Dmitri Tchekmenev" <dtc@biobase.de> Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Why can't I delete MDB-File after creation? Date: Mon, 11 Mar 2002 21:10:26 +0100 Organization: TU Braunschweig, Germany Lines: 37 Distribution: world Message-ID: <a6j36t$r08$1@rzcomm2.rz.tu-bs.de> References: <2283a52.0203101508.503bd9ec@posting.google.com> NNTP-Posting-Host: amon.biobase.de Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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