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

MDE & 2003

My A2003 is set up so that the default file format is Access 2000
(options, advanced tab). I've just tried to make my first A2003 mdb
into an mde and I get an error saying: "you cannot create a <mdb name>
ADE or MDE from a dtabase saved in <mdb name> 2000 format."

Also, in help there's a curious note I simply don't understand which
I've reproduced below (help on mde, "About ADE & MDE files").

I'm a former A97 developer, can someone please explain this to me in
terms an idiot might understand? I'd really appreciate it or a pointer
to previous discussions on this issue here.

Thanks very much in advance - quote from help follows:

"Code no longer employs user-level security

"In previous versions of Access, user-level security could be used with
VBA modules. In Microsoft Access 2000 and later, all Visual Basic code
for an Access database (.mdb) file or an Access project (.adp)
(Microsoft Access project: An Access file that connects to a Microsoft
SQL Server database and is used to create client/server applications. A
project file doesn't contain any data or data-definition-based objects
such as tables and views.) file, including stand-alone modules (standard
module: A module in which you can place Sub and Function procedures that
you want to be available to other procedures throughout your database.)
and class modules (class module: A module that can contain the
definition for a new object. Each instance of a class creates a new
object. Procedures defined in the module become properties and methods
of the object. Class modules can exist alone or with forms and reports.)
(such as code behind forms and reports), must employ security
technologies, such as setting a password, or by saving the database as
an MDE or ADE file, which removes the source code."

--
Tim
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #1
3 1978
On Thu, 28 Oct 2004 10:18:45 -0230, Tim Marshall <TI****@antarctic.flowerpots>
wrote:
My A2003 is set up so that the default file format is Access 2000
(options, advanced tab). I've just tried to make my first A2003 mdb
into an mde and I get an error saying: "you cannot create a <mdb name>
ADE or MDE from a dtabase saved in <mdb name> 2000 format."
I think you just have to convert the file to Access 2003 format, compile the
code, then create the MDE file from that.
Also, in help there's a curious note I simply don't understand which
I've reproduced below (help on mde, "About ADE & MDE files").

I'm a former A97 developer, can someone please explain this to me in
terms an idiot might understand? I'd really appreciate it or a pointer
to previous discussions on this issue here.

Thanks very much in advance - quote from help follows:

"Code no longer employs user-level security

"In previous versions of Access, user-level security could be used with
VBA modules. In Microsoft Access 2000 and later, all Visual Basic code
for an Access database (.mdb) file or an Access project (.adp)
(Microsoft Access project: An Access file that connects to a Microsoft
SQL Server database and is used to create client/server applications. A
project file doesn't contain any data or data-definition-based objects
such as tables and views.) file, including stand-alone modules (standard
module: A module in which you can place Sub and Function procedures that
you want to be available to other procedures throughout your database.)
and class modules (class module: A module that can contain the
definition for a new object. Each instance of a class creates a new
object. Procedures defined in the module become properties and methods
of the object. Class modules can exist alone or with forms and reports.)
(such as code behind forms and reports), must employ security
technologies, such as setting a password, or by saving the database as
an MDE or ADE file, which removes the source code."


Basically, VBA code is now treated more like it is in other Office documents,
and is no longer as much the purvue of Access itself. Since the VB IDE is not
hooked in to the Access user-level security system, security for code no
longer works the same way. Your options now are that you can either protect
the code project as a whole by setting a password for the project, or you can
create an MDE which contains only the compiled code, not the original code
text.
Nov 13 '05 #2
Steve Jorgensen wrote:
I think you just have to convert the file to Access 2003 format, compile the
code, then create the MDE file from that.


Thanks, Steve, for this and the explanation of security & modules.
--
Tim
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #3
If you double click or open a Module in the Access Database
Window, Access checks the security settings for that module
before opening the module in the VBA window.

But in the VBA window, you can open any of the code modules
from the VBA project window, without regard to the Access
security settings.

So the Security form in Access no longer displays the Access
security settings for code modules. You can still set them
in code, and they still apply when in Access, but the VBA IDE
ignores them.

(david)
"Steve Jorgensen" <no****@nospam.nospam> wrote in message
news:17********************************@4ax.com...
On Thu, 28 Oct 2004 10:18:45 -0230, Tim Marshall <TI****@antarctic.flowerpots> wrote:
My A2003 is set up so that the default file format is Access 2000
(options, advanced tab). I've just tried to make my first A2003 mdb
into an mde and I get an error saying: "you cannot create a <mdb name>
ADE or MDE from a dtabase saved in <mdb name> 2000 format."
I think you just have to convert the file to Access 2003 format, compile

the code, then create the MDE file from that.
Also, in help there's a curious note I simply don't understand which
I've reproduced below (help on mde, "About ADE & MDE files").

I'm a former A97 developer, can someone please explain this to me in
terms an idiot might understand? I'd really appreciate it or a pointer
to previous discussions on this issue here.

Thanks very much in advance - quote from help follows:

"Code no longer employs user-level security

"In previous versions of Access, user-level security could be used with
VBA modules. In Microsoft Access 2000 and later, all Visual Basic code
for an Access database (.mdb) file or an Access project (.adp)
(Microsoft Access project: An Access file that connects to a Microsoft
SQL Server database and is used to create client/server applications. A
project file doesn't contain any data or data-definition-based objects
such as tables and views.) file, including stand-alone modules (standard
module: A module in which you can place Sub and Function procedures that
you want to be available to other procedures throughout your database.)
and class modules (class module: A module that can contain the
definition for a new object. Each instance of a class creates a new
object. Procedures defined in the module become properties and methods
of the object. Class modules can exist alone or with forms and reports.)
(such as code behind forms and reports), must employ security
technologies, such as setting a password, or by saving the database as
an MDE or ADE file, which removes the source code."
Basically, VBA code is now treated more like it is in other Office

documents, and is no longer as much the purvue of Access itself. Since the VB IDE is not hooked in to the Access user-level security system, security for code no
longer works the same way. Your options now are that you can either protect the code project as a whole by setting a password for the project, or you can create an MDE which contains only the compiled code, not the original code
text.

Nov 13 '05 #4

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

Similar topics

4
by: Glutinous | last post by:
I've been studying this for hours, searching the www & usenet, and still can't figure out why 'each' returns an array of four key/value pairs, when it looks like just two pairs would suffice... ...
2
by: Amjad | last post by:
Hi, I have installed on my computer Visual Studio .NET Archetict 2002. I have VB.NET Solutions programmed in the Visual Studio .NET Standard 2003 edition, that wont open in my computer because...
6
by: John Wells | last post by:
Guys, My boss has been keeping himself busy reading MySQL marketing pubs, and came at me with a few questions this morning regarding PostgreSQL features (we're currently moving to PostgreSQL). ...
8
by: Nathan Sokalski | last post by:
I add a JavaScript event handler to some of my Webcontrols using the Attributes.Add() method as follows: Dim jscode as String = "return (event.keyCode>=65&&event.keyCode<=90);"...
3
by: pw | last post by:
Hi, I created and distributed an Access 2003 MDE. When the user opens up a form he get's an error message :Function is not available in expressions in query expression 'Trim( & ", " & )'. ...
1
by: Max | last post by:
hi i have stored my connction string in web.config as we do usually. code of web.confing is given below. check the password field contain "&" character. now when i run my application it gives...
3
by: shil | last post by:
Can I have both 1.1 and 2.0 frameworks installed on same machine? I have 2005 already, for some reason I had to install 2003. When I try to create a new project in 2003, I get an error as below: ...
7
by: bhavin30 | last post by:
Is there a way to obtain user information (using LOGON_USER server variables) when you have set up the security to Anonymous Access? I have tried setting the security to both Anonymous + Window...
6
by: avcitamer | last post by:
We upgraded our system and problem below occured, pleas help me... Windows 2003 server SP1 When I set a decimal DB field value to "123,32" (using ADODB.recordset ) updated value was ok (123.32)...
0
by: Roman Optio | last post by:
Hi, I am currently working on a tool to transfer addressbook data such as contacts and organizations between Vondle and Outlook. For those of you who are wondering what Vondle is, it is an...
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: 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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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.