472,354 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 software developers and data experts.

How to unlock VBA Project?

I came across a VBA Project that I didn't know was part of my database until
I found it in Project Explorer (View > Project Explorer from the VBA IDE)
while doing some work recently. When I tried opening it, or viewing
properties, I get a "Project Locked" dialog that says "Project is
unviewable".

If I expand the project in Project Explorer, I can see a couple of forms and
some other stuff that I think are classes. But the stuff is simply
unrecognized - I don't know where it came from and it's not used anywhere.
My guess is a previous developer did something to put there.

Can someone tell me how to unlock or delete this project?

Thanks in advance.
Nov 13 '05 #1
7 21623
you do that and anything in your database depending on it won't work
right any longer... is that okay?

Nov 13 '05 #2
you do that and anything in your database depending on it won't work
right any longer... is that okay?

That's almost like saying "I don't know what this large round thing on
top of my engine does. Is it okay if I cut it off and throw it away?"
I guess you could do it - at your own peril, anyway.

Nov 13 '05 #3
> That's almost like saying "I don't know what this large round thing on
top of my engine does. Is it okay if I cut it off and throw it away?"
I guess you could do it - at your own peril, anyway.


I'm positive it's not needed. And I've got a back up.

I don't understand why or how it's locked, or how to remove it. There must
be a way...
Nov 13 '05 #4
> That's almost like saying "I don't know what this large round thing on
top of my engine does. Is it okay if I cut it off and throw it away?"
I guess you could do it - at your own peril, anyway.


funny... it's gone now. must have been something Access created on the
fly... ghost in the machine
Nov 13 '05 #5
"deko" <www.clearpointsystems.com@use_contact_form.com> wrote in message
news:5k*****************@newssvr21.news.prodigy.co m...
I came across a VBA Project that I didn't know was part of my database until I found it in Project Explorer (View > Project Explorer from the VBA IDE)
while doing some work recently. When I tried opening it, or viewing
properties, I get a "Project Locked" dialog that says "Project is
unviewable".

If I expand the project in Project Explorer, I can see a couple of forms and some other stuff that I think are classes. But the stuff is simply
unrecognized - I don't know where it came from and it's not used anywhere.
My guess is a previous developer did something to put there.

Can someone tell me how to unlock or delete this project?

Thanks in advance.


When you use the Access wizards, extra projects appear in the project
explorer. Their behavior is exactly as you describe (Project is unviewable).
They'll go away when close Access, not reappear until you use the wizards
again.

HTH,
Randy
Nov 13 '05 #6
> When you use the Access wizards, extra projects appear in the project
explorer. Their behavior is exactly as you describe (Project is unviewable). They'll go away when close Access, not reappear until you use the wizards
again.


It's not a good feeling to see "phantom" code in my database. At least now
I know what's going on.

Thanks for the tip.
Nov 13 '05 #7
With that said, there are two approsches one can take:

1) One can ask people if they know what the extras objects are, giving their
names explicitly?

2) Once can try to delete what one does not understand.

There is a clear flaw in the logic of #2. Please consider #1 next time, just
in case what you try and delete is important and you succeed....
--
MichKa [MS]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Microsoft Windows International Division

This posting is provided "AS IS" with
no warranties, and confers no rights.
"deko" <www.clearpointsystems.com@use_contact_form.com> wrote in message
news:2h*****************@newssvr21.news.prodigy.co m...
When you use the Access wizards, extra projects appear in the project
explorer. Their behavior is exactly as you describe (Project is unviewable).
They'll go away when close Access, not reappear until you use the wizards again.


It's not a good feeling to see "phantom" code in my database. At least

now I know what's going on.

Thanks for the tip.

Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John | last post by:
I've got multiple threads and processes that write to same file. Before writing all threads / processes first lock part of file and then write to file. If one thread / process locks file, another...
1
by: Shlomo Anglister | last post by:
Hi, How can I unlock stdio streams? There used to be an unlock API, what happened to it? I will appreciate any kind of help. Thanks, Shlomo
1
by: deko | last post by:
Is there a way to unlock a table so a subroutine can complete? frmMain!frm0 has got a lock on a table I need to do stuff with. Error Number 3211: The database engine could not lock table...
2
by: Unlock | last post by:
Greetings, Any expert able to help me to unlock the database at http://www.generate.netfirms.com/cgi-bin/to.cgi?l=res04 You will need to download the database which I have compressed into a...
1
by: M.C | last post by:
Following is a snap-shot of compiler created code when using UEM, use /Fx: struct __EventCriticalSectionStub { void Lock() {} void Unlock() {} }; ....
1
by: Norman Yuan | last post by:
In my cuurent ASP.NET project, a weird thing happens: when I test-run the project and a uncatched run error occurs, VS quits the test-run, as expected. If I try to run the project again (either...
2
by: Mitch | last post by:
Would anyone have a routine kicking around that would take a users email address and convert it into a string of numbers to use as an unlock code? I am writing an application and would like it to...
3
by: m | last post by:
Hi, I'm running MySQL (5.0.18-nt) on WinXP with latest patches. I've some SQL code that generates an 'ERROR 11' in two different places depending on how the code is submitted. At the moment...
0
by: Petra | last post by:
Hi! I don't know how to handle the following problem: When a User clicks on the detail view of an item, I lock the item in the database. If the user exits with clicking the cancel or ok button...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.