Question VB DLL in C Sharp

When you say VB, do you mean VB6 or VB.NET? If it's VB.NET then it's a .NET assembly just like any other, so you simply reference it like you would any other .NET assembly. If you mean VB6, is it a COM component? If so then you reference it just as you would a .NET assembly and an Interop library will be generated, allowing you to treat it pretty much as you would a .NET assembly.
Ya, I referenced. But still am facing some issues while passing parameters. It is saying that it should be of reference type. Then I tried using the keyword Ref but it didnt happen.
In short, it means that you need to use a class instance rather than a structure instance. For more than that, you'll have to give us a proper description what you're trying to do and what you're actually doing. Some code might be nice.
Top Bottom