🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Create connection to ADO in run time

#3167
From: Giuliano
Date: Tue, 26 Nov 2002 23:45
21 lines
1516 bytes
On Sun, 24 Nov 2002 10:39:28 +0100, "Fabrizio" <zaksubzero@lycos.it> wrote:

>Hi,
>I want to create a connection to Access 2000 in run time.
>I've used TADOConnection for the connection with a local db and TADODataSet
>to use the db. In project-time i haven't any problems, but if I use the same
>connection string of TADOConnection in run time, I've have the error
>"Invalid file name". It's very strange becouse i copy the string without any
>change.
>
>Thanks
>
Hi,

   have a look at 'PromptDataSource' function.

Good luck.

Ciao!

Giuliano
Technical Details
Message-ID: <ar18uuocr8jur1prlgbf60ts2esp6n578e@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-09!sn-xit-04!supernews.com!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail
References: <3de09e83@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,a4ebdf3218b0a278
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-11-26 16:00:53 PST
From: Giuliano <gcardinali@remove.adhoc.net>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Create connection to ADO in run time
Date: Wed, 27 Nov 2002 00:45:12 +0100
Message-ID: <ar18uuocr8jur1prlgbf60ts2esp6n578e@4ax.com>
References: <3de09e83@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.72.236.130
X-Trace: newsgroups.borland.com 1038354433 81.72.236.130 (26 Nov 2002 15:47:13 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-09!sn-xit-04!supernews.com!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail