Article View: borland.public.cppbuilder.database.ado
Article #547BCB6 Follow-up
From: poojo hackma
Date: Fri, 11 Nov 2005 17:42
Date: Fri, 11 Nov 2005 17:42
21 lines
1986 bytes
1986 bytes
Follow-up:
I've looked, and I have "Microsoft ADO Ext. 2.8 for DDL and Security
(Version 2.8)" listed among Project->Import Type Library members. The class
names are TTable, TColumn, TIndex, TKey, TGroup, TUser, and TCatalog.
Several posts searching with
http://groups.google.com/group/borland.public.cppbuilder.database.ado/search?group=borland.public.cppbuilder.database.ado&q=create+database&qt_g=1
mention ways to create databases using TCatalog, but do not show any
examples.
I tried:
TCatalog cat; // also tried TCOM_Catalog cat, but that didn't work either.
cat = CoCatalog::Create();
cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\test.mdb");
But that did not work because BCB6 did not know what either TCatalog nor
TCOM_Catalog were, and they were not listed in my Help files. The closest I
got was something called TCOMAdminCatalog, but this does not look like what
I want.
Technical Details
Message-ID:
<4374d7fa$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4374c751$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,fd44f1fbb79ff20c X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "poojo hackma" <poojo.com/mail> Newsgroups: borland.public.cppbuilder.database.ado References: <4374c751$1@newsgroups.borland.com> Subject: BCB6 Follow-up Date: Fri, 11 Nov 2005 11:42:51 -0600 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Response X-Antivirus: avast! (VPS 0545-2, 11/11/2005), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 12.45.133.147 Message-ID: <4374d7fa$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1131730938 12.45.133.147 (11 Nov 2005 09:42:18 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail