Click here to Skip to main content
15,907,497 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

I have VB dll which is compiled and build correctly.

I have register this dll using "regsvr32" and gave the reference to it in my application and try to call an Initialise method.

It throwing and exception. Does anybody have idea, what am missing here ?

VBNameSpace.VBClass objVB = new VBClass();
Updated 18-Mar-15 22:56pm
Maciej Los 19-Mar-15 4:59am    
Is this .net library? Do you want to use it on the same machine where you developed it or on the other?
vipulnegi 19-Mar-15 5:05am    
it is VB6 lib which i tried to use in .net aplication.
I have created VB6 library in XP mode(same machine).
Maciej Los 19-Mar-15 5:11am    
Does this library exposes COM interfaces?

1 solution

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900