Question How to password-protect my vb codes?

shieriel

Registered User.
Local time
Tomorrow, 06:14
Joined
Feb 25, 2010
Messages
116
Hello everyone. May i ask is it possible to protect the codes by a password? And if possible how can i do that...
 
Yes, you can and you go into the VBA window and then to the Object Explorer and right click on the project name and select the <the project name> PROPERTIES and then click on the PROTECTION tab. The rest should be self-explanatory.
 
It is probably most common to distribute an mde/accde to users, which will not allow them to view code or change the design of forms and reports. You can set a password, but I never have. It's in Tools/DatabaseName Properties/Protection tab.
 
Slllooooowwwww fingers. :(
 
It is probably most common to distribute an mde/accde to users, which will not allow them to view code or change the design of forms and reports. You can set a password, but I never have. It's in Tools/DatabaseName Properties/Protection tab.

HI, how can i distribute an mde or accde? How can i do that? Sorry i am just a beginner in access:o
 
The same way you distribute an MDB file: you give the MDE or ACCDE file to the user to begin using with Access (just like you would with a Word or Excel file, for instance).

I recommend you do a lot of studying about the ramifications of maintaining a system that you've distributed as an MDE/ACCDE. You'd think it would be pretty straight-forward, but there are some gotchas.
 
HI, how can i distribute an mde or accde? How can i do that? Sorry i am just a beginner in access:o

Start by looking in help at mde (versions prior to 2007) or accde (2007). Post back if you have questions.
 
Start by looking in help at mde (versions prior to 2007) or accde (2007). Post back if you have questions.

HI. I am using access2003 format and i cannot convert it into mde file. Please see attached picture for the error...:confused:
 

Attachments

  • mde.JPG
    mde.JPG
    39.8 KB · Views: 125
to make an mde the database must be able to compile without errors.

Manually compile the code to see if there are any errors. Fix the error. Repeat until it compiles without error.
 
to make an mde the database must be able to compile without errors.

Manually compile the code to see if there are any errors. Fix the error. Repeat until it compiles without error.

I am sorry but i dont know how to "compile the code":confused:
 
Open the VBA editor (Alt-F11). On the menu Debug > Compile
 
Open the VBA editor (Alt-F11). On the menu Debug > Compile

Hi, i succesfully convert my database into mde file. But what if i want to edit some codes? How can i open again with the "Edit Program" open? Thanks..
 
You keep the mdb to make changes to, then you create a new mde and distribute it to users. There are tools to automate that if needed.
 
You keep the mdb to make changes to, then you create a new mde and distribute it to users. There are tools to automate that if needed.

Thanks! May i ask what are those automation tools?:)
 

Users who are viewing this thread

Back
Top Bottom