?
Solved

Remote Database Connection Through Vb

Posted on 2003-12-10
7
Medium Priority
?
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 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