A common question in Access database newsgroups and forums
is ‘How can I convert my Access database from MDE format into an MDB file?’ If your file contains VBA code then the correct answer is that you can’t since the MDE file is locked and
protected. However, the protection isn’t the main obstacle in trying to convert
the MDE file, the main issue is that all VBA modules are saved in a compiled
state with any original source-code being stripped out.
For many years users requiring MDE
to MDB conversions have been advised to ‘Import’ tables, queries, forms, reports
etc into a new blank database and then re-write the VBA code from scratch. This
in itself is tricky as forms and reports are protected and you need a special
tool to ‘extract’ the form/reports into the new database. (see References for
further details)
Since the original VBA code is not available, you have only a few
options:
- Re-write the VBA code yourself
- Ask an Access developer to recreate the functionality of the VBA
code for you
- Use the
MDE Unlocker by EverythingAccess.com to make changes to form/reports functionality (without having to re-write any VBA code)
- Use the
MDE to MDB Conversion service at
EverythingAccess.com to
recover your original source code (including variable names etc., but
excludes VBA comments). **
** Please Note: This service is only available to users that can
prove lawful ownership of the MDE file. Follow the hyperlink for
further information.
This tutorial is for use with the MDE Unlocker utility v3.00 - it will
help you in using the software and making minor changes to forms/reports
and/or adding functionality to your MDE database. You will not need to
re-write any VBA code, however you are limited in the changes that you are
allowed to make.
By following this tutorial you will learn how to make
changes to the MDE database, but please note that this method DOES NOT
retrieve the original VBA code – it simply allows you to make cosmetic and
functional changes to the database without the need for VBA project changes.
Due to the technicalities that will be outlined in this
tutorial, you will become aware that this new method is not usually suitable for
large-scale changes due to the restrictions of having a non accessible VBA
project. However, for cosmetic changes and/or expanding current
functionality this method can be used effectively.
New Video Tutorial (Using the MDE
Unlocker to unlock a simple Access 2000 MDE file and making changes):
<< Temporarily unavailable >>
What this tutorial can help you
achieve with an MDE file:
·
Make cosmetic changes to existing forms/reports (add, delete, edit & move
controls)
·
Make functionality changes using Macros
·
Add new forms/reports (non-VBA only - all functionality by
Macros)
What this tutorial won’t help you
achieve with an MDE file:
- It won’t give you direct access to the VBA project. (If you
need this, click
Here)