Click here to Skip to main content
14,835,636 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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**********
Posted

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.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900