Unlock Forms and Project Source Files in VB6

Posted on 2000-03-09
Last Modified: 2008-02-01
I find source code but locked as shown in project explorer window. I find VB6 Lock Controls ( in Format main menu option ), can only lock items on the form. How we can lock project as well as forms. My guss is that Developer of this project should use some other tool to lock source files i.e MS Visual SourceSafe.
Help me to unlock all files.
Question by:qualitywareconsultant
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 2602492
Try to use "save as", and save all the locked files(.frm, .bas.vbp, etc) to a different name, then load the new project.  

Accepted Solution

Glen Richmond earned 75 total points
ID: 2602745
you could always goto file properties of the *.frm *.bas etc and take off the readonly propertie.

give it a go its worked for me in the past.

good luck
LVL 15

Expert Comment

ID: 2602753
Maybe files are marked as read-only. To modify this, right click on files in Explorer, select Properties, and set file attributes...
LVL 15

Expert Comment

ID: 2602754
oops :)

Expert Comment

ID: 2604710
You can modify the property, as ameba and glen mentioned.  However, if you are using something like sourcesafe. I would not suggest that. You may find your self in a situation that you can't check your file (after all the changes) back to sourcesafe...

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 121
Windows Script Host failed (Access is denied.) error 6 324
Excel VBA, find a string in a column, update a cell 7 102
Copy a row 12 69
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question