🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DSN

#545
From: Steve Aletto
Date: Fri, 11 Nov 2005 16:17
9 lines
1219 bytes
> someone knows how create a new DSN in Windows by code?

Use SQLConfigDataSource:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcsqlconfigdatasource.asp

HTH,

Steve.
Technical Details
Message-ID: <4374c408$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4374c0ed@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,7eae7ae417c9da14
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Steve Aletto" <stevealettoANTI@SPAMgmail.com>
From: "Steve Aletto" <stevealettoANTI@SPAMgmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <4374c0ed@newsgroups.borland.com>
Subject: Re: DSN
Date: Fri, 11 Nov 2005 17:17:42 +0100
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.208.124.114
Message-ID: <4374c408$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131725832 81.208.124.114 (11 Nov 2005 08:17:12 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail