Help needed for changing of database extension from .mdb to .mde

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an access application that will create new database during runtime. As
i need to transfers querys, tables and forms over to the newly created
database, i can only rename the database extension form .mdb to .mde only
after i had completed the transferring of those querys, tables and forms. Can
someone pls kindly show me how shud i start abt doing the change.

Thanks alot in advance,
 
Shay said:
I have an access application that will create new database during
runtime. As i need to transfers querys, tables and forms over to the
newly created database, i can only rename the database extension form
.mdb to .mde only after i had completed the transferring of those
querys, tables and forms. Can someone pls kindly show me how shud i
start abt doing the change.

Thanks alot in advance,

Why are you renaming from MDB to MDE? That accomplishes nothing. The creation
of an MDE involves a lot more than just changing the name.
 
As my newly created database have codes that i do not wish to allow people to
use special keys like the shift key to look at my code and tempt with it,
that is y i am onli trying to rename the database extension rather then to
manually make the .mde file.
 
You're wasting your time. Anyone with Access can view the contents of an
MDB, whether or not the file extension is MDE....or anything else for that
matter. If you want to secure the source code, you must create a proper MDE
file.

If you want to prevent others from viewing your source code, you need to
make an MDE. Since you indicate that part of what your application does is
create forms in another database, you'll have to create them
programattically vs by importing. Tables and queries can be imported from
your MDE.
 
Shay said:
As my newly created database have codes that i do not wish to allow
people to use special keys like the shift key to look at my code and
tempt with it, that is y i am onli trying to rename the database
extension rather then to manually make the .mde file.

Well you can give the file any extension you like and that won't change the
fact that it is an MDB. There is a Sys command (undocumented I believe)
that allows you to programatically produce an MDE, but I don't recall what
it is off-hand. If you Google these groups it should be easy enough to
find.
 
If you implemented security in the Access MDB you may be able to keep people
out of the design view of forms and modules.

Rick
 
okie...Thanks alot for your advice, i guess the only way is to program it
rather den renaming the extension den.Thanks alot
 

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

Back
Top