Switch: the module cannot be edited (can't edit module)
Source: Internet
Author: User
The module cannot be edited (Can't edit module)Author: zfive5 (zidong) Email: zfive5@yahoo.com.cnI haven't written any technical articles for a long time. I found that my recent study is not as strong as I used to (although I have read a few books). It may be that my mood and weather have been impetuous recently! I heard a product training from a colleague yesterday and found that our products are quite different!
For a programmer who uses VB for development under CC or VSS, the prompt "the module cannot be edited" is always displayed, but it cannot be checked out all, such modifications are highly risky when the product is subsequently released. What should I do if I encounter such a problem today? What should I do? I found that I took out all the code and removed the read-only attribute. After compilation, I am OK. I will no longer see the prompt "another person is upset". Why? It must be something different in the Code. After comparing a file with windiff, we found the cause J and made a simple example, for example: the red part is different. The reason is as follows: when VB is compiled, the code is automatically optimized, the blank Process Code marked in red is removed, and form1.frm is read-only, all prompts "the module cannot be edited "!
Conclusion:
Look for the code to find an empty method, and check out the corresponding file to compile it!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.