473,387 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

connecting to access database with password

pCnString = "Data Source=" & App.Path & "\database\WO.mdb;Provider=Microsoft.jet.oledb.4.0 ; uID=sa;Pwd=subhanalla"


i am used the above code for providing a password to access database
when i am try to open it , it gives a error message and i can't open the access data base .
please help me

the error is "could not find the installable ISAM"
Mar 22 '07 #1
3 1629
ansumansahu
149 100+
pCnString = "Data Source=" & App.Path & "\database\WO.mdb;Provider=Microsoft.jet.oledb.4.0 ; uID=sa;Pwd=subhanalla"


i am used the above code for providing a password to access database
when i am try to open it , it gives a error message and i can't open the access data base .
please help me

the error is "could not find the installable ISAM"
Hi ,

Look at this link. Microsoft gives a resolution for the above problem.

http://support.microsoft.com/kb/209805

thanks
ansuman
Mar 22 '07 #2
Dim cnn As ADODB.Connection
Private Sub OpenConnection()
Dim strCnn As String
strCnn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & App.Path & "\WareHouse_Maint.mdb;Persist Security Info=False;Jet OLEDB:Database Password= raju"
' connection string
Set cnn = New ADODB.Connection
cnn.Open strCnn
End Sub

use this u can set the connection.
Mar 23 '07 #3
vijaydiwakar
579 512MB
Good reply Rajaaryan44
Mar 23 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: news | last post by:
We currently have our mySQL server on the same box as the Apache server. For security and load balancing, we're going to be moving the mySQL server to another box. We're already using a single...
7
by: carl.manaster | last post by:
I'm new to this game. I can find my way around C# without any trouble, and I've used Access, a little bit, in the past. Now a friend wants an application of mine to read from his Access database....
5
by: Sebastian | last post by:
I'm using the following code to connect to an access 2000 database. (with reference to adodb) Public DBvar As New ADODB.Connection() DBvar.Open("Provider=Microsoft.Jet.OLEDB.4.0; Data...
5
by: Al | last post by:
Hi, I am looking for sample VB.net code for working with Access 97 database. I know how to work with SQL but I dont know how to read and writ into access 97. Any help is very much appreciated. ...
4
by: kthiagar | last post by:
Hi I am trying to connect to a password protected access file from VB.NET. I have no problem in connecting to Access, if I remove the password. This is what I am doing: In the server explorer,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.