有关在vb.net中使用用户控件的疑问 [英] Doubts about using User Control In vb.net

查看:111
本文介绍了有关在vb.net中使用用户控件的疑问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...我开发了vb.net应用程序...我使用了一个组件类并将其添加到我的工具箱中...我在整个项目中都使用了该控件...但是现在我遇到了这个错误... .

警告:
找不到类型"............. TabStripButton".请确保引用了包含此类型的程序集.如果此类型是开发项目的一部分,请确保已成功构建该项目.

Hi... I develop vb.net application... I used one component class and add it in my toolbox... i used that control in my whole project... but now i had this error....

Warning:
Could not find type ''.......TabStripButton''. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

推荐答案

您为什么认为此错误消息有误?控件是否在dll中?您的项目中引用了dll吗?它在带有可执行文件的文件夹中吗?

错误消息通常存在以告诉您一些信息,并表示它们的意思.寻求一个帮助是很好的,但是如果您还解释说您已经读过它,以及为什么您认为它是错误的,那将是很好的.
Why do you think this error message is wrong ? Is the control in a dll ? Is the dll referenced in your project ? Is it in the folder with the executable ?

Error messages typically exist to tell you something, and mean what they say. It''s fine to ask for help with one, but it would be nice if you''d also explain that you''d read it, and why you thought it was wrong.


1.如果您在自己的项目中创建了usercontrol,请通过项目检查命名空间是否相同
2.如果您使用的是 dll ,请检查是否已将其添加为参考.
祝您编码愉快!
:)
1. If you have create usercontrol in your own project then check Namespace is same through project
2. if you are using dll then check you have added it in reference.
Happy Coding!
:)


这篇关于有关在vb.net中使用用户控件的疑问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆