Solved

'Cannot Edit Module' after hitting F5 key in VB6

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

749 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