🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Create ADO connection (DSN) programmatically

#5418
From: Bert
Date: Tue, 29 May 2001 15:52
18 lines
1128 bytes
General : I made a bcb 5.0 application which reads from/writes to an
Access database (ADO).

At this moment I made the DSN manually in the control panel (ODBC32)

I installed service pack 1 + the ADO update and mdac 2.6

Problem : How can I create this DSN programmatically ? 

I tried to work with the connection-string, but this doesn' t work on
Windows NT 4.0.


Thanks,

Bert.Vanstreels  
         (@bigfoot.com)
Technical Details
Message-ID: <3b136f22.97439220@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,d3861d61423e148f,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-05-29 08:58:06 PST
From: Bert
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Create ADO connection (DSN) programmatically
Date: Tue, 29 May 2001 15:52:25 GMT
Message-ID: <3b136f22.97439220@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.11/32.235
NNTP-Posting-Host: 62.58.96.5
X-Trace: dnews 991151495 62.58.96.5 (29 May 2001 08:51:35 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews