Solved

Reading a .mdb file with VB6

Posted on 1999-01-03
1
568 Views
Last Modified: 2012-06-27
How can I read a simple .mdb file with VB6 that is password protected. All user permissions are set to default and I can read it fine if there is no password without using any code. When I add a password to the Access database, my VB app can't access it anymore. Any ideas??
Albert
0
Comment
Question by:ahammar
1 Comment
 

Accepted Solution

by:
Ajoy earned 100 total points
Comment Utility
ahammar,
u can set up a connection string with  the userID and Password.
Then set up the conection to the database with this connection string.this should work.
eg:
dim sCnn as string
scnn = "{rsDbdriver}, ServerName,databasename,TableName,UsrID Password"
use this string(scnn) to establish connection  with the .mdb file
regards,
ajoy

my mail ID is :
Ajoy.Tarafder@in.bosch.com
u can mail me at the address mentioned and i will try to help u out

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now