Help needed - access to Access MDB

C

cpufo

Let me first state that I do NOT have Access installed.

I periodically receive MDB files that I read and analyze with a VB
application that reads the files. (again Access is NOT installed).

Recently I received a file but the VB program refused to open it giving the
message:
"You do not have permission to use ....."
I understand that MDW file should be involved, but how can I bypass this
problem without using Access.

TIA
 
A

Arvin Meyer [MVP]

You cannot, unless you can crack Access security. There are a few people on
the Internet that can do that. Try using Google to find them.
 
S

Stuart Bratesman

You can download a free runtime version of Access 2007 from the Microsoft
Download site at
http://www.microsoft.com/downloads/...FamilyID=d9ae78d9-9dc6-4b38-9fa6-2c745a175aed

The runtime version of Access 2007 allows you to open and use an Access
database, but it does not allow you to make any structural or design changes
to the database application.

However, to open an Access database that employs user-level security, you
would need a copy of the .mdw file AND a way to join the MDW file's
WorkGroup.

While earlier version of Access have a Workgroup Management tool (I think
that's the name) that you could use to manually join a user-level security
workgroup, this feature is missing from Access 2007.

In Access 2007, the only way to join a user-level security workgroup is via
the follow command in VBA:

Application.SetDefaultWorkgroupFile
"[PATH]\[FILENAME].mdw""[PATH]\[FILENAME].mdw"

So, you would need to have a separate Access database to run that piece of
code to join the work group. Once you have joined, then every time you open
any Access database, Access will prompt you for a User ID and Password, which
have to match an entry in the currently active .mdw file.

To get back to the default workgroup, you need a copy of an .mdw file called
system.mdw, which I presume must come packaged with every runtime copy of
Access. Once Access is installed on a computer, the default location for the
system.mdw file is the:

C:\Documents and Settings\[MY ACCOUNT]\Application Data\Microsoft\Access

folder.

The system.mdw default workgroup is (I think) the only workgroup file that
does not ask you for a User ID and password. In Access 2007, once you have
joined a secure workgroup, the only way out is to have a database application
that will run the following bit of VBA code:

Application.SetDefaultWorkgroupFile "C:\Documents and Settings\[MY
ACCOUNT]\Application Data\Microsoft\Access\system.mdw"

I hope this is help you need.
 
C

cpufo via AccessMonster.com

Thx for the advice. I think my MDB is Access 97 version. Does that make it
any easier/different to bypass the MDW?



Stuart said:
You can download a free runtime version of Access 2007 from the Microsoft
Download site at
http://www.microsoft.com/downloads/...FamilyID=d9ae78d9-9dc6-4b38-9fa6-2c745a175aed

The runtime version of Access 2007 allows you to open and use an Access
database, but it does not allow you to make any structural or design changes
to the database application.

However, to open an Access database that employs user-level security, you
would need a copy of the .mdw file AND a way to join the MDW file's
WorkGroup.

While earlier version of Access have a Workgroup Management tool (I think
that's the name) that you could use to manually join a user-level security
workgroup, this feature is missing from Access 2007.

In Access 2007, the only way to join a user-level security workgroup is via
the follow command in VBA:

Application.SetDefaultWorkgroupFile
"[PATH]\[FILENAME].mdw""[PATH]\[FILENAME].mdw"

So, you would need to have a separate Access database to run that piece of
code to join the work group. Once you have joined, then every time you open
any Access database, Access will prompt you for a User ID and Password, which
have to match an entry in the currently active .mdw file.

To get back to the default workgroup, you need a copy of an .mdw file called
system.mdw, which I presume must come packaged with every runtime copy of
Access. Once Access is installed on a computer, the default location for the
system.mdw file is the:

C:\Documents and Settings\[MY ACCOUNT]\Application Data\Microsoft\Access

folder.

The system.mdw default workgroup is (I think) the only workgroup file that
does not ask you for a User ID and password. In Access 2007, once you have
joined a secure workgroup, the only way out is to have a database application
that will run the following bit of VBA code:

Application.SetDefaultWorkgroupFile "C:\Documents and Settings\[MY
ACCOUNT]\Application Data\Microsoft\Access\system.mdw"

I hope this is help you need.
Let me first state that I do NOT have Access installed.
[quoted text clipped - 10 lines]
 
K

Keith Wilby

cpufo via AccessMonster.com said:
Thx for the advice. I think my MDB is Access 97 version. Does that make it
any easier/different to bypass the MDW?

If you could "bypass" it then it wouldn't be much use. As Arvin has stated,
if you don't have the workgroup file and logon credentials then you need to
purchase a crack.
 
A

Arvin Meyer [MVP]

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top