Solved

'Cannot Edit Module' after hitting F5 key in VB6

Posted on 2007-11-14
4
624 Views
Last Modified: 2008-02-01
I use Visual SourcSafe with VB 6 for all of my projects, there are time after I have checked all files in that I get a message about not being able to edit a module. I close the project and VB6 , reopen both and it runs just fine.
0
Comment
Question by:DevLSS
[X]
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
4 Comments
 
LVL 7

Expert Comment

by:tward
ID: 20279590
When a module is checked in, I don't believe you can edit it, it becomes read-only.
0
 
LVL 20

Expert Comment

by:hes
ID: 20279792
When you check in a file, the local copy is now read only. You have to check out the file to be able to edit it.
Your opening setting in VB must be to check out all files.
0
 

Author Comment

by:DevLSS
ID: 20289758
I don't think i was clear about my question, i get that message after hitting the F5 key. All I am trying to do is run the application, not trying to edit it at the time.
0
 
LVL 18

Accepted Solution

by:
mdougan earned 500 total points
ID: 20290991
Do you have the graphical window view of any form displayed in edit mode before hitting the F5 key?  I've noticed that if I have form view open on any form, or crystal report, or form that uses a custom user-defined control, that VB will attemp to change some design time setting on the form/report/user control, and that is when you get that message.

If so, close any windows that are in Form View and/or any Crystal Report edit windows before hitting F5 and you shouldn't get that message.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

737 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