Has anyone tried calling a .Net Dll in VB6.0/ I'd like to know how one can accomplish this, if at ll it can be done.
Thanks
Simple VB
Printable View
Has anyone tried calling a .Net Dll in VB6.0/ I'd like to know how one can accomplish this, if at ll it can be done.
Thanks
Simple VB
I haven't called a .NET dll in VB but I think the method of calling will be the same. Have you tried it, is it giving any error message ?
there is an app that comes with the .NET framework to make an ActiveX wrapper for a .NET dll but dont use it. Find a regualr Activex dll to do what you want. To use a .NET dll in a vb6 app you need the dll, the activex wrapper, the .NET framework, AND the Vb6 runtimes. Too much!!
Where can I find the ActiveX wrapper and the .Net framework. Can you tell the process of calling it.
.NEt framework is on Microsoft's website. The tool to create a wrapper comes with it.
Again, you dont want to do this.
I agree w/ cander on this..... the biggest reason: the .NET framework weighs in around 20Meg! All that jsut to be able to call a DLL.... overkill....
Especially when there are regular aCTIVEx DLL'S out there that will do the same thing you need the .NET dll for without they extreme overhead of needing the dll, the wrapper ,the vb runtimes, and the .net framework...all for a single dll.