๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #2979

Connessione con Password

#2979
From: Antonio
Date: Sun, 01 Dec 2002 12:14
13 lines
1382 bytes
Abitualmente uso il seguente codice per connettermi ad un database

Set cn = New ADODB.Connection

    cn.Provider = "Microsoft.Jet.OLEDB.4.0"
    cn.ConnectionString = dbPath
    cn.Open

Fin qui va tutto bene se il database non ๏ฟฝ protetto da password...ma se
invece devo connettermi ad un database in access protetto da password qual๏ฟฝ
il codice da usare?

Un grazie a chi mi risponde
Technical Details
Message-ID: <13nG9.19225$qF1.896915@news2.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newsfeed.wirehub.nl!news.stealth.net!news.stealth.net!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,939401828d57d1ed,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2002-12-01 04:14:54 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newsfeed.wirehub.nl!news.stealth.net!news.stealth.net!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail
From: "Antonio" <no@spam.grazie>
Newsgroups: free.it.visual-basic
Subject: Connessione con Password
Lines: 15
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
Message-ID: <13nG9.19225$qF1.896915@news2.tin.it>
Date: Sun, 01 Dec 2002 12:14:53 GMT
NNTP-Posting-Host: 62.211.151.139
X-Complaints-To: newsmaster@tin.it
X-Trace: news2.tin.it 1038744893 62.211.151.139 (Sun, 01 Dec 2002 13:14:53 MET)
NNTP-Posting-Date: Sun, 01 Dec 2002 13:14:53 MET
Organization: TIN