Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

connect to an access database on a server

$
0
0
Hi all,

I'm having problems with connecting to my database. The computer i'm on is connected to a server called BPL. That server is connected to a mainserver.

My database is on a hidden testmap called "publicshare$"

my connection string would normaly be :

Dim dbconn As New 0leDbConnection("Provider=Microsoft.ACE.OLEDB.12.0 ;Data Source= \\mainserver\publicshare$\TestTomDatabase\woordens pelNederlands.accdb")

You don't need a password to connect to the database, but i need to implement an other user name (eg. admin ) and a password (eg. adminpas) to connect to the map.

How should i chance my connectionstring so that i can do this ?

Br,






Viewing all articles
Browse latest Browse all 2703

Trending Articles