Solved

'Cannot Edit Module' after hitting F5 key in VB6

Posted on 2007-11-14
4
626 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

691 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