473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 21815
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.