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

How can I edit the code when I get a "Project Locked/ Project is unviewable"?

anoble1
100+
P: 223
I am trying to open a database to see the Visual Basic Editor to look at some code. When I open the editor, I see the modules, forms, reports. When I click to open one I get a dialog box that says
Project Locked
Project is unviewable

How do I take that off, or how do I get in?

Thanks
May 13 '10 #1
Share this Question
Share on Google+
5 Replies


NeoPa
Expert Mod 15k+
P: 31,186
That depends on what is causing the lock. Are you prompted for a password anywhere?
May 14 '10 #2

anoble1
100+
P: 223
@NeoPa
I am not prompted for one.
May 14 '10 #3

NeoPa
Expert Mod 15k+
P: 31,186
I can't think what it may be if it doesn't have a password. Even a R/O file just stops you from saving changes.

I assume it is a .MDB file rather than an MDE or other such file yes?
May 14 '10 #4

anoble1
100+
P: 223
Now that you ask that, I have not seen this before. I have a shortcut on my desktop. It ties with a .ini file which opens a RUNMDE file.
May 14 '10 #5

NeoPa
Expert Mod 15k+
P: 31,186
If it's an MDE file (or A2007 equivalent) then there is no code to edit. Only the programmed objects are stored. The original code is dropped from such files.
May 14 '10 #6

Post your reply

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