Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to unprotect a module?

Status
Not open for further replies.

jerry1970

Programmer
Jan 9, 2002
2
NL
Hi all,

I need to edit a User Control (made by ourselves, but the one who made it has left the company). I checked it out from SourceSafe, the file is /not/ ReadOnly, and still I cannot edit the module. VB says: "Can't edit module".

VB6 Help says: "You tried to edit a protected module. Remove the protection from the module, and then try editing again."

How do I remove the protection from a module? I can't find it anywhere.

Thanks!
Herry
 
I would suggest that you double-check first. Verify that none of the files that are associated with this module (.vbp, .frx, .cls, etc) have their read-only property checked.

If none of the files are read-only and you're still having a problem, then you should try to branch the project in Source Safe. To do this you'll create a new SS project, Share the original project, but in the Share dialog box check the Branch after Share check box. After the project has been Branched you should be able to Check Out any file that's in the new SS project.

Good Luck!
Josh
 
Also, something that should be reviewed are your Source Safe Administrator settings. In Source Safe Administrator, a user with Administrative permissions can set Access privileges for other users to Read-Only and set default security settings for specific projects.

If you do not have administrative rights to your SS database or do not have access to the Source Safe Administrator utility you should enlist the services of someone at your location that does.

Josh
 
Although you can't edit it, you should be able to read the file.
Just copy and paste the code to a new module.
:¿)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top