473,387 Members | 1,891 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.

Open Access table with Password

How can i open a Access Table that have a password?
Can somebody help me?
Thanks

Nov 20 '05 #1
11 1516
Are you saying you dont have the password, or you dont know how to pass it
in the connection string ?

Regards - OHM

Nuno wrote:
How can i open a Access Table that have a password?
Can somebody help me?
Thanks

Nov 20 '05 #2
I Dont know hot to pass it...
-----Original Message-----
Are you saying you dont have the password, or you dont know how to pass itin the connection string ?

Regards - OHM

Nuno wrote:
How can i open a Access Table that have a password?
Can somebody help me?
Thanks

.

Nov 20 '05 #3

You will find that the connection stringfor the connector will look
something like this, just put the Database Password= entry in and hopefully
it will work.

Regards - OHM

Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet
OLEDB:Database Locking Mode=1;Jet OLEDB:Database Password=;Data
Source="C:\Documents and Settings\Administrator\My
Documents\FamilyPlusFriends.mdb";Password=;Jet OLEDB:Engine Type=5;Jet
OLEDB:Global Bulk Transactions=1;Provider="Microsoft.Jet.OLEDB.4.0"; Jet
OLEDB:System database=;Jet OLEDB:SFP=False;Extended Properties=;Mode=Share
Deny None;Jet OLEDB:New Database Password=;Jet OLEDB:Create System
Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet
OLEDB:Compact Without Replica Repair=False;User ID=Admin;Jet OLEDB:Encrypt
Database=False

Nuno wrote:
I Dont know hot to pass it...
-----Original Message-----
Are you saying you dont have the password, or you dont know how to
pass it in the connection string ?

Regards - OHM

Nuno wrote:
How can i open a Access Table that have a password?
Can somebody help me?
Thanks

.

Nov 20 '05 #4
When i try to open it...i give me this message "COULD NOT
FIND INSTALLABLE ISAM"

Can you help me...?
-----Original Message-----

You will find that the connection stringfor the connector will looksomething like this, just put the Database Password= entry in and hopefullyit will work.

Regards - OHM

Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;JetOLEDB:Database Locking Mode=1;Jet OLEDB:Database Password=;DataSource="C:\Documents and Settings\Administrator\My
Documents\FamilyPlusFriends.mdb";Password=;Jet OLEDB:Engine Type=5;JetOLEDB:Global Bulk Transactions=1;Provider="Microsoft.Jet.OLEDB.4.0"; JetOLEDB:System database=;Jet OLEDB:SFP=False;Extended Properties=;Mode=ShareDeny None;Jet OLEDB:New Database Password=;Jet OLEDB:Create SystemDatabase=False;Jet OLEDB:Don't Copy Locale on Compact=False;JetOLEDB:Compact Without Replica Repair=False;User ID=Admin;Jet OLEDB:EncryptDatabase=False

Nuno wrote:
I Dont know hot to pass it...
-----Original Message-----
Are you saying you dont have the password, or you dont know how to pass it in the connection string ?

Regards - OHM

Nuno wrote:
How can i open a Access Table that have a password?
Can somebody help me?
Thanks
.

.

Nov 20 '05 #5
http://www.visual-basic-data-mining....spx?PostID=791
Nuno wrote:
When i try to open it...i give me this message "COULD NOT
FIND INSTALLABLE ISAM"

Can you help me...?
-----Original Message-----

You will find that the connection stringfor the connector will look
something like this, just put the Database Password= entry in and
hopefully it will work.

Regards - OHM

Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet
OLEDB:Database Locking Mode=1;Jet OLEDB:Database Password=;Data
Source="C:\Documents and Settings\Administrator\My
Documents\FamilyPlusFriends.mdb";Password=;Jet OLEDB:Engine
Type=5;Jet OLEDB:Global Bulk

Transactions=1;Provider="Microsoft.Jet.OLEDB.4.0"; Jet
OLEDB:System database=;Jet OLEDB:SFP=False;Extended
Properties=;Mode=Share Deny None;Jet OLEDB:New Database
Password=;Jet OLEDB:Create System Database=False;Jet OLEDB:Don't
Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica
Repair=False;User ID=Admin;Jet OLEDB:Encrypt Database=False

Nuno wrote:
I Dont know hot to pass it...

-----Original Message-----
Are you saying you dont have the password, or you dont know how to
pass it in the connection string ?

Regards - OHM

Nuno wrote:
> How can i open a Access Table that have a password?
> Can somebody help me?
> Thanks
.

.

Nov 20 '05 #6
Cor
Hi Nuno,

Are you using VB.net with ado.net?
or
VB.Net with DAO?
or
MS Access?

Cor

Nov 20 '05 #7
THERES THE CODE...IM NOT SURE IF I CAN DO LIKE THIS...
IM REALLY CONFUSE...
Thanks...

Function OpenTable() As DataSet
Dim strDSN As String
= "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\Conversao\Optiware98.MDB;pwd=et98jif%Znf[2)"
Dim strSQL As String = "SELECT * FROM Clientes"
Dim Conn As OleDbConnection
Dim DA As OleDbDataAdapter
Dim Ds As DataSet

Ds = New DataSet()
Conn = New OleDbConnection(strDSN)
DA = New OleDbDataAdapter(strSQL, Conn)

Try
DA.SelectCommand.CommandType =
CommandType.StoredProcedure

DA.Fill(Ds, "Mensagens")

Return Ds

Catch e As Exception
MessageBox.Show(e.Message)
Finally
Conn.Close()
End Try

End Function

-----Original Message-----
Hi Nuno,

Are you using VB.net with ado.net?
or
VB.Net with DAO?
or
MS Access?

Cor

.

Nov 20 '05 #8
Cor
Hi Nuno,

Can you try it with these changes, and if it does not work, cut that pwd
part again from it and try it again.

I hope this does work?

Cor
Function OpenTable() As DataSet
Dim strDSN As String
= "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\Conversao\Optiware98.MDB;pwd=et98jif%Znf[2)"
Dim strSQL As String = "SELECT * FROM Clientes"
Ds = New DataSet()

Dim Conn As New OleDbConnection(strDSN)
Try
Dim cmd As New OleDbCommand(strSQL, Conn)
da = New OleDbDataAdapter(cmd)
da.Fill(ds, "Mensagens")
Return ds
Catch oledbExc As OleDbException
MessageBox.Show(oledbExc.ToString)
Catch ex As Exception
MessageBox.Show(ex.Message)
Finally
Conn.Close()
End Try

Nov 20 '05 #9
It Still give the same error...
The pwd is the password of the table...
but thanks for your efforts...

-----Original Message-----
Hi Nuno,

Can you try it with these changes, and if it does not work, cut that pwdpart again from it and try it again.

I hope this does work?

Cor
Function OpenTable() As DataSet
Dim strDSN As String
= "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\Conversao\Optiware98.MDB;pwd=et98jif%Znf[2)"
Dim strSQL As String = "SELECT * FROM Clientes"
Ds = New DataSet()

Dim Conn As New OleDbConnection(strDSN)
Try
Dim cmd As New OleDbCommand(strSQL, Conn)
da = New OleDbDataAdapter(cmd)
da.Fill(ds, "Mensagens")
Return ds
Catch oledbExc As OleDbException
MessageBox.Show(oledbExc.ToString)
Catch ex As Exception
MessageBox.Show(ex.Message)
Finally
Conn.Close()
End Try

.

Nov 20 '05 #10
I think this is typically caused by a bad connection string. One common
error is not putting a space in Data Source. In case of word wrap, that
should read Data Source.

"Nuno" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
When i try to open it...i give me this message "COULD NOT
FIND INSTALLABLE ISAM"

Can you help me...?
-----Original Message-----

You will find that the connection stringfor the

connector will look
something like this, just put the Database Password=

entry in and hopefully
it will work.

Regards - OHM

Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry

Path=;Jet
OLEDB:Database Locking Mode=1;Jet OLEDB:Database

Password=;Data
Source="C:\Documents and Settings\Administrator\My
Documents\FamilyPlusFriends.mdb";Password=;Jet

OLEDB:Engine Type=5;Jet
OLEDB:Global Bulk

Transactions=1;Provider="Microsoft.Jet.OLEDB.4.0"; Jet
OLEDB:System database=;Jet OLEDB:SFP=False;Extended

Properties=;Mode=Share
Deny None;Jet OLEDB:New Database Password=;Jet

OLEDB:Create System
Database=False;Jet OLEDB:Don't Copy Locale on

Compact=False;Jet
OLEDB:Compact Without Replica Repair=False;User

ID=Admin;Jet OLEDB:Encrypt
Database=False

Nuno wrote:
I Dont know hot to pass it...

-----Original Message-----
Are you saying you dont have the password, or you dont know how to pass it in the connection string ?

Regards - OHM

Nuno wrote:
> How can i open a Access Table that have a password?
> Can somebody help me?
> Thanks
.

.

Nov 20 '05 #11
On Fri, 28 Nov 2003 03:45:17 -0800, "Nuno" <an*******@discussions.microsoft.com> wrote:

¤ How can i open a Access Table that have a password?
¤ Can somebody help me?

Assuming you mean database password?

strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=e:\My Documents\db2.mdb;" & _
"Jet OLEDB:Database Password=password"
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve | last post by:
Hi, Yesterday I signed up for another dedicated linux server with the hosting company I use and I am having problems getting MySQL 4.1.3 working on it. I've tried just about everything I can...
7
by: Bruce Lawrence | last post by:
I have a table on a SQL server called history. When I link this table using an ODBC connection, i give it the username and password and tell it to save the password and it works great. On my PC. ...
4
by: dennist685 | last post by:
Can't open my .mdb I was experimenting with opening an access database in IIS. For experimenting, I have an .mdb called HasbaraSample. In this case I copied it to the C:\Inetpub\wwwroot\Access...
4
by: aspsql | last post by:
I have a website which runs off a Access database which I am currently converting to sql server database. I would like to still use my access front end for reporting and queries.. I created an...
3
by: -xx- | last post by:
Hi, I am new to c# and just trying out c# with ms access. First problem i encountered is how do i open up ms access that has password. Here is my current codes which working fine if there is...
4
JodiPhillips
by: JodiPhillips | last post by:
MS Access2000 Hi everyone, I've searched the forums for an answer to this question and nothing jumps out at me. When a database is opened I want to automatically run code (at start-up) that...
5
by: Mai Le | last post by:
Hello Experts. Coul you please help me to fix my program. I created a login from with 2 levels. Admin an User. If Admin login will open A form and If User login will open B form I had table...
4
n8kindt
by: n8kindt | last post by:
i'm trying to create a secure scenario where no one will be able to know our encrypted database passcode. BUT if they login to a form in another database successfully, it will open the encrypted...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Thank you for that. It was very...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.