I have an idl file written using MS VC++ 6. I used the VS .net midl.exe tool
to generate a type library file (.tlb).
I have tried to use the tlb file in a VB.Net app using each of the
following two methods:
1) Add reference in VS .Net using the COM tab , browse, select etc.
2) Using the tlbimp command line to generate a dll file.
With either method when I try to instantiate the com object from .net I
receive the following error message:
Com object with clsid xxxxx is either not valid or not registered.
Any clues where to start?
Thanks.
Was this an inappropriate way to convert the idl file to a type library?
Thanks
I
"DWorthem" <anon...@discussions.microsoft.com> wrote in message
news:B8E35B01-BA49-400E...@microsoft.com...
> Did you check Regedit to see if the Coclass was registered under CLSID?
>
> You mentioned that you used midl.exe, do you mean that you did not use a
VS.NET project but instead manually used midl.exe?