镇江徐玲个人资料:我把vb中打开文件时为什么会出现冲突名称?

来源:百度文库 编辑:高考问答 时间:2024/05/03 19:15:42
.是不是把窗体另存为,或者改过名字就会出现这种情况呀?

问题好像出在类似FrmAbout这样的窗体名称,VB允许你小写,比如frmabout
应该是vb内部保留关键字,这些关键字很难说的,有时候一些不明不白的问题就是与这些关键字冲突,建议更改窗体名。这与是否另存为无关。

手动改过窗体的名字就会这样!

msdn解释如下:

The name of a form occurs twice in the source file for a Form, User Control, Property Page, or User Document. The names are different ,so the specified name will be used. This error can occur if the file was modified by an editor other than Visual Basic.