|
-
Oct 24th, 2008, 09:11 AM
#1
Thread Starter
Fanatic Member
ms access compile modules / link to mde vba modules
Hi,
I have an MDB that has its VBA modules and code (lets call it main MDB). I have got another MDB with some VBA functions that i'd like to protect its code. (lets call it functions MDB) any ideas how to do it?
I guess i'm asking is it possible to either:
1. compile the functions MDB into an MDE, and then somehow to link the main MDB code into this new MDE...
2. to somehow compile or otherwise secure the code modules inside the functions MDE and then to export them to the MDB
is this possible somehow ?
-
Oct 24th, 2008, 02:54 PM
#2
Fanatic Member
Re: ms access compile modules / link to mde vba modules
Password protect the code modules in functions MDB from the VB editor Tools->Properties. Inside main MDB, open Tools->References from the VB editor. Click browse and select your functions db. You're done.
You don't have to compile it into an MDE.
-
Oct 24th, 2008, 03:59 PM
#3
Re: ms access compile modules / link to mde vba modules
VBA password is relatively easy to break. Compile into MDE is more secure.
-
Oct 25th, 2008, 02:37 PM
#4
Thread Starter
Fanatic Member
Re: ms access compile modules / link to mde vba modules
Yes I know that VBA password is easy to break, but how can i compile into MDE and still call this MDE functions from another MDB ?
Thanks,
-
Oct 28th, 2008, 11:44 AM
#5
Hyperactive Member
Re: ms access compile modules / link to mde vba modules
You need to add the mde file as a reference. In a code window goto: Tools > References. Then click browse and select your mde file.
One thing to consider if you are to deploy the the mdb to multiple users you need to make sure the mdb is in a network area they all can access.
Rico
Using: VB.net & MS SQL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|