Lock project for viewing with Code

A

alex

Lock VBA Project with Code

Hello,
Using Access ‘03

If I set/provide a password in Tools > Properties > Protection; is
there a way to ‘Lock project for viewing’ with code?

I’ve done some searching and there’s a way to do it with Send Keys,
but I’d like to stay away from those.

I’m basically just looking to pass a ‘true’ value to the ‘Lock project
for viewing’ radio button using VBA. It may also be useful to
determine (in code) if the project is already locked.

Thanks,
alex
 

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

Top