473,385 Members | 1,521 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,385 software developers and data experts.

MS access ldb using vb.net

SBK
I'm having a problem:

I connect to an MS access db using jet oledb (it has a password). If the db
doesn't have a password, everything works fine. If i do, access gets locked
down (.ldb) with the access db 'Admin' user. Closing the Windows Form that
uses the oledbconnection has no effect on the ldb (even though i close the
connection etc). I can't delete the ldb manually or programatically (after
the .net appication is closed - the ldb disappears). Basically, I want to be
able to compact and repair the database everytime the application is closed.
I'm currently doing this using DAO (which doesn't have access to the db if
it's locked). So, is there a good solution that compacts the db via .net OR
can i somehow shut down the Admin user's use of the access db.

Thanks for any help
Jul 21 '05 #1
2 2150
My recommendation would be that if everything works fine without the
database password, then don't use it. The database password feature in
Access is absolutely useless. Anyone who is interested and capable of
doing a google search can bypass it easily. The totally illusory
"protection" it gives isn't worth the hassle. Even user-level Access
security, which is more complex to implement than the databse
password, can be circumvented via google. Basically the bottom line is
if you have sensitive data and/or serious security requirements, don't
use Access.

--Mary

On Tue, 9 Nov 2004 11:24:02 -0800, SBK <SB*@discussions.microsoft.com>
wrote:
I'm having a problem:

I connect to an MS access db using jet oledb (it has a password). If the db
doesn't have a password, everything works fine. If i do, access gets locked
down (.ldb) with the access db 'Admin' user. Closing the Windows Form that
uses the oledbconnection has no effect on the ldb (even though i close the
connection etc). I can't delete the ldb manually or programatically (after
the .net appication is closed - the ldb disappears). Basically, I want to be
able to compact and repair the database everytime the application is closed.
I'm currently doing this using DAO (which doesn't have access to the db if
it's locked). So, is there a good solution that compacts the db via .net OR
can i somehow shut down the Admin user's use of the access db.

Thanks for any help


Jul 21 '05 #2
SBK
Thanks Mary

"Mary Chipman" wrote:
My recommendation would be that if everything works fine without the
database password, then don't use it. The database password feature in
Access is absolutely useless. Anyone who is interested and capable of
doing a google search can bypass it easily. The totally illusory
"protection" it gives isn't worth the hassle. Even user-level Access
security, which is more complex to implement than the databse
password, can be circumvented via google. Basically the bottom line is
if you have sensitive data and/or serious security requirements, don't
use Access.

--Mary

On Tue, 9 Nov 2004 11:24:02 -0800, SBK <SB*@discussions.microsoft.com>
wrote:
I'm having a problem:

I connect to an MS access db using jet oledb (it has a password). If the db
doesn't have a password, everything works fine. If i do, access gets locked
down (.ldb) with the access db 'Admin' user. Closing the Windows Form that
uses the oledbconnection has no effect on the ldb (even though i close the
connection etc). I can't delete the ldb manually or programatically (after
the .net appication is closed - the ldb disappears). Basically, I want to be
able to compact and repair the database everytime the application is closed.
I'm currently doing this using DAO (which doesn't have access to the db if
it's locked). So, is there a good solution that compacts the db via .net OR
can i somehow shut down the Admin user's use of the access db.

Thanks for any help


Jul 21 '05 #3

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

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
63
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
20
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to...
64
by: John | last post by:
Hi What future does access have after the release of vs 2005/sql 2005? MS doesn't seem to have done anything major with access lately and presumably hoping that everyone migrates to vs/sql. ...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
17
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
34
by: Mathieu Trentesaux | last post by:
Hello I downloaded Office 2007 for this reason : It seems, once again, that it is impossible to save any modification done in a VBA library, from the main project in Access. The save button...
16
by: JoeW | last post by:
I'm utilizing a database that I created within MS Access within a program I've created in VB.NET. I am using the VB front end to navigate the information, but want to be able to print a report,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.