本文介绍了在Visual Basic 2005 Express Edition中打开表单的设计窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我正在使用Visual Basic 2005 Express Edition与我们的应用程序开发 关系的小工具,我正面临着使用 界面时出现问题。 有时会发生表格的设计窗口无法再查看用户界面。 有没有人知道如何访问它? 解决方案 是否给出了错误消息?通常,如果有错误的代码, 会阻止表单的呈现,它将无法打开(因为它无法绘制 本身),直到错误得到修复。 IIRC发生这种情况时会显示一个带有错误列表的白色屏幕。 谢谢, Seth Rowe 它是否给出了错误消息?通常,如果有错误的代码, 会阻止表单的呈现,它将无法打开(因为它无法绘制 本身),直到错误得到修复。 IIRC发生这种情况时会显示一个带有错误列表的白色屏幕。 谢谢, Seth Rowe 应用程序的构建没有错误。启动应用程序 很好地显示表单!! 通常情况下,在代码中表单的一部分,右键单击上下文 敏感菜单显示为第一个条目View Designer;有时它不会再有b $ b,我觉得我已经失去了设计。 ?!?! 非常感谢您快速回复!! Lio 如果设计窗口显示错误,我发现以下情况 通常会修复它。并非每次都需要所有步骤。 关闭设计窗口。 重建项目。 关闭Visual Studio。 打开Visual Studio。 打开项目和设计窗口。 在我看来,有时当一个突破性的变化是制作了一个 类,并且受该更改影响的设计窗口是打开的,Visual Studio记得关于该类的一些内容,它不应该和将会 继续在设计窗口中显示错误,直到窗口关闭和/或Visual Studio关闭为止。 Hi,I''m using Visual Basic 2005 Express Edition to develop small tools inrelation with our applications and I''m facing a problem using theinterface.It sometimes happens that the design window of a form can no more beviewed within the user interface.Does anyone have an idea on how I can do to access it ? 解决方案Is it giving an error message? Often if there is bad code thatprevents the rendering of the form, it will not open (as it can''t drawitself) until the error is fixed. IIRC when this happens it show awhite screen with a list of errors.Thanks,Seth RoweIs it giving an error message? Often if there is bad code thatprevents the rendering of the form, it will not open (as it can''t drawitself) until the error is fixed. IIRC when this happens it show awhite screen with a list of errors.Thanks,Seth RoweThe build of the application gives no error. Starting the applicationwell shows the form !!Normally, when in the "code" part of a form, the right click contextsensitive menu shows as first entry "View Designer"; and sometimes itdoes no more and I feel like I have "lost the design" ?!?!Thanks already for the very quick reply !!LioIf the design window shows errors, I have found the following willusually fix it. Not all steps are needed every time.Close the design window.Rebuild the project.Close Visual Studio.Open Visual Studio.Open the project and the design window.It appears to me that sometimes when a breaking change is made to aclass and a design window affected by that change is open, VisualStudio remembers something about the class that it shouldn''t and willcontinue to show errors in the design window until the window isclosed and/or Visual Studio is closed. 这篇关于在Visual Basic 2005 Express Edition中打开表单的设计窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-13 11:24