o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

MsAccess DB - Password -

Hai!

How to Access the secured Database from VB, thru ADODB.

i.e. I secure my Access DataBase with password, and I am using ADODB Connectivity in my VB Form. Whilst initializing the connection, my code is

1)

Con.Provider = "Microsoft.jet.oledb.4.0"
Con.ConnectionString = "d:\Mod\medical.mdb; ; password = 'rao'"
Con.Open

for the above code i got error message : "could not find installable ISAM" with error no : -2147467259.

2) when i tried below also

Con.Provider = "Microsoft.jet.oledb.4.0"
Con.ConnectionString = "d:\Mod\medical.mdb"
Con.Open , , "rao"

I got error as
"Cannot start your application. The workgroup information file is missing or opened exclusively by another user."
with error number : -2147217843

[In above code 1. 'rao' is password of medical database ,
2. Con is ADODB Connection Object ]

Plz help me...

Thanx in advance.

 

How to Open MSAccess data with Password protected -
Hi there! Need help on VB5. I tried number of times to Open MSAccess data(I protect with a password on it), when I run my program in VB5 & it prompt me "Run-time error 3031, Not a valid password, therefore I can't open it. Anyone can help me, how to decode MSAccess password


MSACCESS Database with Passwords -
Hi, I Have MSACCESS Database with Password Setup. When Opening the Database in Access it Asks for it. When in VB.net 2003, I Use the oledbDataconnection. This Asks for the Password and username, I Tried All Combinations, Passowrd Only, Admin, Administrator as Username, Blank Usernam


Password for MSAccess -
Dim ac As Access.Application Set ac = New Access.Application ac.OpenCurrentDatabase (Form1.Text1) ac.DoCmd.OpenReport "time4" ac.CloseCurrentDatabase I use this to run open a MSAccess database to print out a report. The problem is the database has a password and I don'


Is it possible to pass a Password from VB to Microsoft Access in runtime. -
I have created an App that uses a MSAccess database.I want to place a password for the DB to prevent prying eyes from seeing the contents, this process is easy enough from MSAccess. But when I try to run the App, it cant access the DB. Is there a way to pass the Password from my App to


ASP want to call module in msaccess -
Hello, I'm create my web application by using ASP and MSAccess. My problem is, I have a Function in MSAccess Model and I would like to call it from ASP. I saw a code to open module but it has only module and procedure name, I can not sent the parameter into that procedure. For sa


msaccess error -
i am accessing msaccess forms using my vb code(automating msaccess forms) i get msaccess error 2046 when i do filterbyselection...........for msaccess 97 using my vb code..........but same work if i do it in msaccess 2000................ how can i overcome this? regards vivek.s


password in connectstring -
DEar friends, please help me this... I am connecting vb to msaccess 2000 db. iam using connectionstring to connect the db with jet oledb 4.0.This is working fine. I want to include the password for the database.I have given the password to the database and i have added at the end of


I think this should be an easy one -
How do I setup a password for security in MSAccess and then connect it to VB at moment I have a database password and use ADODC to record password and username. When I test connection I get Datalink error, database is opened exclusively by another user. When I run program without


Using NT password in MSAccess97 -
hi, Is there a possible way to use the NT user login and password of a user ( who as an account at a windows NTserver) as the userlogin and -password for msaccess? thanx smaug


Export record from MSAccess Query to Paradox Database -
How can I Export record from MSAccess Query to Paradox Database? I used to export from MSAccess Query to MSExcel (*.xls) but today I want to change from MSExcel to Paradox 5.x so could you please help. Thanks, Sirisak K ====================================== = For use with M


MS Access Password: Suppress error box -
When someone opens my passworded database, they get the database password prompt. If the password is wrong or they click cancel, MS Access displays some ugly password denied error message. Can this be suppressed? If the password is not correct, I just need MS Access to close


Database password and ADODB -
Hello! I need some help. I have vb6 sp6. I have a database created with MSACCESS and i have a database password (not user ID and pass ID just simple password). I want connect this database with ADODB. How can i set this password in ADODB.Connection in code? Many thanks.


Transactions for MSAccess with VB.NET -
Hi all big players, Here is a problem I would like to ask: Can I use Transactions for MSAccess database in VB.NET Like DBEgine.BeginTrans, Rollbacks and DBEngine.CommitTrans in VB6 for MSAccess with DAO [not ADO] If not then how can we control Batch updations. Thanks


Debug VC DLL in VB/MsAccess -
Hi, I would like to know if it is posible to debug a VC DLL code called from a VB or MsAccess application, specially from a MsAccess call. Thank you in advance, Edgar


Novice needs help!!!(problem installing .net app in other windows platform) -
Hi everybody!!! I made a simple program in VB.NET using MSaccess database and Crystal Reports 9.0. When I installed the program on my own pc and other pc (with windows XP platform having MSaccess app) the program runs perfectly and displays the report smoothly. But when i tested


MSAccess via internet to MSAccess -
Hello to all . The following code connects 2 MSAccess database that is located in the same domain (the same computer or same novell network) mySql1 = "INSERT INTO HAAVARA IN '" + fullPath + "' " _ & "SELECT HAAVARA.* FROM HAAVARA &


Password in MSAccess with VB -
I wanna add security in my Access database which I use with VB, while opening the database, how would I tell the password to VB/Access; Somebody told me to add it in Opendatabase parameters but I could not resolve the problem, Can you help me???


Corver MSAccess Report to VB Form -
I wonder what is the procedure to convert a MSAccess Report to VB or what can I do to print a MSAccess Report from VB. Thank


MSAccess 2000 -
Hi all when I was using MSAccess 97 with vb5 or vb6 I had no problem at all, but when I use either vb5 or vb6 with MSAccess 2000 , vb does not recognize the databass . Is there any to slove this problem please?????? Any help will be highly appreciated Mohammed


Database Recovery -
hai gurus, i forgot my access database password, is there any utility to recover the database or password. shall we use MSACCESS 97 as front end for ORACLE Database, how will be the performance, any idea ...? thanks [Edited by ipmurali on 04-09-2000 at 05:00 PM]


speed problem(MSACCESS) -
i m doing a multiuser project using sql and msaccess databases i m using ado controls for the both the databases when i m writing data in sql it is doing well but when im writing in msaccess it is taking too much time to come out from access what could be the reason it is necesso


Password Protection of Access DataBase -
I have developed a database application with MSAccess as backend. I want to protect the .MDB file so that it can only be opened through my VB application and not through Access. The solution which I am finding is to protect .MDB by Password. But I do not know how to provide password t


removing program from memory -
hi, i am accesing msaccess forms using vb code.....once i run my application a copy of msaccess stays in memory.......when i run the program next time it doesnt work properly......but once i remove the copy of msaccess from memory it works properly....how can i remove the msa


Printing Report using MS Access2K on VB6 -
hello all. I found this code below how to print a report, using the report form from access, by using a vb form. it works on printing but it doesn't seem to work in preview. I even change the acViewNormal to acViewPreview. can someone help me pls. What happened here is when i click


How to Display UserName in the StatusBar -
I have a log-in form and a database where all the username and password are stored (MSAccess). A user can log-in if their username and password are stored in the database. My problem is, when they have entered the system (using the correct username&password) how will I display the


Opening Pword protected A97 db in VB -
Using a password protected Access97 db. In VB6.0, using DAO, cannot open this db. Getting very odd error message: #3170 - Couldn't find installable ISAM - on this line: Set FoneDB = DAO.OpenDatabase(App.Path & "\PhoneData.mdb", False, False, "MSAccess;PWD=s


Path for MSaccess.exe -
I have a distributed Access application where a copy of the application is on every desktop. Users start a vb6 exe which checks the server for a new version, downloads if necessary, then starts the database. To start the database, Ihave hardcoded the full path to MSaccess.exe, then th


connectionString ambiguity -
Hi all! just to sort things out abit........... i find it hard to understand 1 thing. Below is the connectionString constructed for connecting to the mdb. Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\movies.mdb;Persist Security Info=false Provider=Microsoft.


Search feature within VB6 using a MSAccess -
Hey, I have searched this forum and MSDN to find what im looking for but not with much luck. My problem is creating a search feature within VB6 which seaches a MSaccess Table. For Example. My MSAccess table which hold records of employee Number (autonumber), people's names, age


Questions about MSAccess -
Hi, There's a way to know all table in a MSAccess database? (A table inside the database where all table are listed) An another one, in order of the first, concerning relationship between table, like the first question, there's a way to know it? I'm trying to made a search win


Change Login Password -
How can I change a password in a MSAccess database VB.Net I have a login page fully functional. Created it in vb.net. Now I like to learn how to change the password. My credits to Pirate for submitting the code for the login page. I use it for almost every program that I create suc


query regarding subform/subreport of msaccess -
Hi, i am currently automating msaccess forms using a separate VB application.i ahve encountred a Subform/Subreport in msaccess form.the subreport contains a row........how can i get the values the values of the row using my VB code? regards vivek.s


How will i use 'like*' in vb it works in sql but fails in vb -
Hello everyone ; i hope i will get my answer from here bec my teachers couldnt solve problem too. IN MsAccess we can use Select * From customers where name Like 'A*'; But when i use it in vb i want to make it. in textbox1.text ppl will write "A" and it will show to m


How do I change password of Access database through vb6 -
Hi, Is there any way to programatically change password of msaccess database through vb6?


Multiuser -
Hi, I developed an application a while ago that has been used without any problem for a long time. The application is in VB5 and connects to an MSAccess database using ODBC. This application is used on one PC. Now I need to enable the application to run on two or more PC's and


Write data from a DataTable to MSACCESS -
Hi, I have a project where I use ADO to fill a DataTable programatically from an Excel spreadsheet. All works fine. I want to get that data to a MSACCESS DB. Once I have my DataTables populated, what do I need to do to write them to ACCESS? Or, is there a better way? Is there


MSAccess import function problem -
Hi all I have an installation problem of MSAccess ============================== My problem : I have installed msaccess again after a virus hit my comp. i was updating my data base by using the build in "import" function in msaccess one a month. after the new in


Computer Without MSAccess -
Hi, I am not a newbie, but it seem a newbie question. My application is a stand-alone program with access to MSAccess. For computer without MSAccess, does my application work ?? Thanks


query regarding control arrray -
hi, i am accessing textboxes in msaccess using vb code..........at design time there is a text box named "parent" in msaccess form.........at run time in msaccess.........5 more texoxes are created with the same name ..........so i feel its a control array(am i right?)


query regarding msaccess -
hi, how can manipulate a already open msaccess form using Access.Application object? regards vivek.s