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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cant Edit Module message prevent project running

Status
Not open for further replies.

PieMan

Programmer
Aug 9, 2001
15
0
0
GB
When trying to Run or Compile my project I get a message saying Cant Edit Module.
I've followed the help file and it didn't make any difference.
The Project has been developed in VB6 and is managed using Source Safe.
All Forms & Modules are checked have been checked into Source Safe.

This is causing a major problem, because I cannot work on the project at all.

Thanks in advance

Pieman
 
Try checking the module out of source safe or vice versa if you already have it checked out.
 
Jackg is correct,

VB is trying to save the file, but as the file is in VSS, the file is read only. Therefore VB cannot save the file.

This normally happens when VB has changes the project file in memory and when you run the program it tries to save the changes. The changes can be from several sources:

Auto Increment Version Number can cause the version number to increment each time you run the program.

either:

Remove source safe integration.
Make the project file Read/Write in file manager.
Stop VB from saving changes when you run the application -Options/Environment

Hope this helps,

Chris Dukes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top