Solved

Reading a .mdb file with VB6

Posted on 1999-01-03
1
578 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
[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
1 Comment
 

Accepted Solution

by:
Ajoy earned 100 total points
ID: 1453668
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

751 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