我的vb项目没有运行 [英] My vb project is not running
问题描述
你好,请写一个vb项目。但是,不是组成项目的各个表单,我想让每个表单成为一个面板,并将所有表单放在一个表单上。然后隐藏面板。所以当你想要什么时,面板就会出现。
我的问题是当我运行表单时,我收到此错误
创建表单时出错。请参阅Exception.InnerException for错误是:表单在构造期间从默认实例引用自身,导致无限递归。在Form的构造函数中,使用'Me'来引用表单。
有人可以帮我解决这个问题....?
Hello, Please am writing a vb project. But instead of the individual forms that make up the project, i want to make each form a panel and put all on one form. the panels are then hidden. so when you want something, the panel comes to view.
my problem is when i run the form, i get this error
"An error occurred creating the form. See Exception.InnerException for details. The error is: The form referred to itself during construction from a default instance, which led to infinite recursion. Within the Form's constructor refer to the form using 'Me.'"
can someone please help me solve this....?
推荐答案
你好,
希望这会有所帮助
http://www.vbforums.com/showthread.php?637037-RESOLVED-The-form-referred-to-itself-during-construction-from-a-default-instance [ ^ ]
http://social.msdn.microsoft.com/Forums/windows/en-US/12fdb8c4-14c5-444e-9fcc-8531ae56d064/suddenly-im-getting-this-error-默认情况下,构造中提到的自身构建 - 论坛= winformsdesigner [ ^ ]
http://stackoverflow.com/questions/18437664/the-form-referred-to-itself-during-construction-from-a-default-instance -which -l </a> [ ^ ]
一切顺利:)
Hello ,
Hope this helps
http://www.vbforums.com/showthread.php?637037-RESOLVED-The-form-referred-to-itself-during-construction-from-a-default-instance[^]
http://social.msdn.microsoft.com/Forums/windows/en-US/12fdb8c4-14c5-444e-9fcc-8531ae56d064/suddenly-im-getting-this-error-the-form-referred-to-itself-during-construction-from-a-default?forum=winformsdesigner[^]
http://stackoverflow.com/questions/18437664/the-form-referred-to-itself-during-construction-from-a-default-instance-which-l[^]
All the best:)
这篇关于我的vb项目没有运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!