Hi Tiraman,
First of all, I would like to confirm my understanding of your issue.
From your description, I understand that you wants to use the tlb file in
VB.NET.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.
I think we can add reference to the tlb file directly just as we do with
the COM dll in IDE.(You may just browse to the tlb in the Add reference
dialog)
Also we can use the tlbimp.exe tool to achieve our aim, which is used by
the VS.NET IDE.
Type Library Importer (Tlbimp.exe)
The Type Library Importer converts the type definitions found within a COM
type library into equivalent definitions in a common language runtime
assembly. The output of Tlbimp.exe is a binary file (an assembly) that
contains runtime metadata for the types defined within the original type
library. You can examine this file with tools such as Ildasm.exe.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/htm
l/cpgrftypelibraryimportertlbimpexe.asp
Please apply my suggestion above and let me know if it helps resolve your
problem.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.