Using TLBIMP.exe

Posted on 2008-01-25
Medium Priority
Last Modified: 2011-10-19
This is related to the question i asked here:

So, I downloaded VBCorLib.dll  from sourceforge. I couldnt add a reference to it in my ASP.Net app.

I tried using tlpimp from here:http://msdn2.microsoft.com/en-us/library/tt0cf3sx(VS.80).aspx

When I do this: tlbimp VBCorLib.dll /out:enctest.dll

*** I get this error:
TlbImp : warning TI0000 : Type library importer has encountered an interface not
 derived from IUnknown: '_HiddenInterface'.
TlbImp : error TI0000 : System.SystemException - The type library importer encou
ntered an error during type verification. Try importing without class members. :
 System.MissingMethodException - Method not found: 'System.Collections.IEnumerat
or enctest._ICollection.GetEnumerator()'.

What am I doing wrong??
Question by:Camillia
  • 2

Expert Comment

by:Sachintana Dissanayake
ID: 20743114
You might need to convert both TLB's to .NET assemblies as below...

tlbimp VBVM6Lib.tlb /out:VBVM6Lib_Assembly.dll
tlbimp vbcortype.tlb /out:vbcortype_Assembly.dll

Author Comment

ID: 20745011
sorry , but where do I get those "tlb"s from?


Not sure if that link is related to tlb or not

Accepted Solution

Sachintana Dissanayake earned 2000 total points
ID: 20745101
You should be able to find them in VCorLib_Src_2_2\Type Libraries folder in the attached file.
Rename the doc file to zip and extract and see, it's the VBCorLib source from sourceforge...

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question