Admin
02-01-2008, 04:40
*
Hello,
*
I have a type library that I use in a .NET project. I've never had any problems with it on XP, actually once you open it in the OleView, it gets registered and its types are imported into a .NET assembly properly, and viewable among COM references in VS.*I did not run a single command, all was done automatically. Now I am trying to do it on Vista. The first thing is that oleview is a separate download with Windows SDKs. OK, downloaded and tried to open the tlb file. No luck, the viewer freezes. Googled and tried the recommended steps, did not work. Ran the tlbimp tool, got a .NET assembly and registered it manually with regasm, the registry entries are there. Still, I cannot do anything with it. I am getting a InteropServices.COMException error 80040154 when I run my .NET code, which, I believe, tells me that the COM component is not registered. I cannot open*the type library*with the OleView tool either, it still hangs. Finally
What am I doing wrong? Anyone seen that before? Please help.
أكثر... (https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2617748&SiteID=1)
Hello,
*
I have a type library that I use in a .NET project. I've never had any problems with it on XP, actually once you open it in the OleView, it gets registered and its types are imported into a .NET assembly properly, and viewable among COM references in VS.*I did not run a single command, all was done automatically. Now I am trying to do it on Vista. The first thing is that oleview is a separate download with Windows SDKs. OK, downloaded and tried to open the tlb file. No luck, the viewer freezes. Googled and tried the recommended steps, did not work. Ran the tlbimp tool, got a .NET assembly and registered it manually with regasm, the registry entries are there. Still, I cannot do anything with it. I am getting a InteropServices.COMException error 80040154 when I run my .NET code, which, I believe, tells me that the COM component is not registered. I cannot open*the type library*with the OleView tool either, it still hangs. Finally
What am I doing wrong? Anyone seen that before? Please help.
أكثر... (https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2617748&SiteID=1)