vb.net中的错误 [英] Error in vb.net

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

问题描述

你好:
我使用vs2005(vb.net).
当我想打开form1.vb(design)时,出现错误accoure:
为什么?
错误:
无法将类型为"system.comobject"的com对象转换为接口类型"Ioleobject".此操作失败,因为查询接口未调用具有IID的接口的com组件"{00000112-0000- 0000-c000-000000000001046}由于以下错误而失败:不支持此类接口(HREWSULT除外:ox80004002(E-nointerface))



请带领我


********** TANK YUO **********

hello :
I work with vs2005(vb.net).
When i want to open form1.vb(design), an error accoure :
why?
ERROR:
unable to cast com object of type ''system.comobject'' to interface type ''Ioleobject''.this operation failed becuse the query interface call no the com component for the inteface with IID''{00000112-0000-0000-c000-000000000001046} failed due to the following error:NO such interface supported (exception from HREWSULT:ox80004002(E-nointerface))



please lead me


**********TANK YUO**********

推荐答案

表单设计器很垃圾,运行了一些,但没有您的所有代码.我认为那是导致错误的原因.将调试器附加到VS,打开表单,它应该向您显示错误的位置.您的另一个选择是安装已完成,但是我想说这是因为您编写的代码需要清理或移动.
The forms designer is rubbish and runs some, but not all of your code. I assume that''s what''s causing the error. Attach a debugger to VS, open the form, and it should show you where the error is. Your other option is that your installation is hosed, but I''d say it''s because of code you have written and need to clean up or move.


我发现了帖子.
这可能会有所帮助,但可能再没有.
I found this post when I searched for your error.
It may be helpful but then again it may not be.


这篇关于vb.net中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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