Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

Using TLBIMP.exe

This is related to the question i asked here:
https://www.experts-exchange.com/questions/23105218/This-encryption-method-works-in-ASp-Net-VB-Net.html

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??
Avatar of Sachintana Dissanayake
Sachintana Dissanayake
Flag of New Zealand image

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
Avatar of Camillia

ASKER

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

http://killian35.proboards30.com/index.cgi?board=general&action=display&thread=1125137950

Not sure if that link is related to tlb or not
ASKER CERTIFIED SOLUTION
Avatar of Sachintana Dissanayake
Sachintana Dissanayake
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial