Solved

'Cannot Edit Module' after hitting F5 key in VB6

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now