By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,487 Members | 1,747 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,487 IT Pros & Developers. It's quick & easy.

Hide VB code in FORM ...

P: 36

I designed a form and there is some VB code behid this.

When some one uses this FORM they can open this form in design view and also they can do some code changes .. so i dont want to allow .. is there any possibility to do this.

May 28 '09 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 3,532
Best would be to Compile the code and fix any errors, then goto

Tools - Database Utilities - Make MDE file

and make an MDE file. This prevents the users from making any design changes. Be absolutely sure to retain a copy of the MDB file! This will be needed to make modifications in the future; nothing can be changed in the MDE file!

Linq ;0)>
May 28 '09 #2

Expert Mod 15k+
P: 31,709
From the IDE (Alt-F11 from Access) select Tools / {project name} Properties.

From here select the Protection tab and you should find it straightforward from there.
May 28 '09 #3

Expert Mod 15k+
P: 31,709
As Linq says, an MDE file is another option which will certainly result in a protected project. It comes with other effects too though, so check it out and choose that which more closely fits your own particular needs.
May 28 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.