Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Unlock Forms and Project Source Files in VB6

Posted on 2000-03-09
5
Medium Priority
?
2,116 Views
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.
0
Comment
Question by:qualitywareconsultant
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:Dalin
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.  
0
 
LVL 2

Accepted Solution

by:
Glen Richmond earned 225 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
0
 
LVL 15

Expert Comment

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

Expert Comment

by:ameba
ID: 2602754
oops :)
0
 
LVL 9

Expert Comment

by:Dalin
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...
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

782 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