?
Solved

Remote Database Connection Through Vb

Posted on 2003-12-10
7
Medium Priority
?
240 Views
Last Modified: 2010-04-17
I have a MsAccess Database on Server and the client wants to connects the database. The Database is not sharable. How can i connect it usiing Vb
0
Comment
Question by:teenapareek
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
syed555 earned 1000 total points
ID: 9911612
1st  step is to share the drive or folder of the server on which your access database is residing. once you share, client should be able to access the database browsing through network.

2nd step to connect database from VB.
there are no of methods to do so.
one way is to create an Odbc connection from windows control panel of clinet.
ODBC will map the database with network path.
 \\servername\sharedfolder\data\Mydatabase.MDB

code to connect from VB
Dim cn as new Adodb.Connection
Cn.Open "DSN=YourDSN;UID=admin;PWD="

0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 1000 total points
ID: 9917463
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 10317109
split points between syed555 and emoreau
0
 
LVL 2

Expert Comment

by:syed555
ID: 10936468
split points between syed555 and emoreau
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Simple Linear Regression

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question