I need help here!
I dont how to pass an array to my Class Library INTEROP, Im going to call this COM.net from COM VB6 and right now is send me an ERROR, type mismatch.
How I need to made the call to this component from VB6.
Do I need a special definition?
Do you have an example?
.NET - CLASS LIBRARY
Public Interface iCostInventory
Function updCostMaterialAbasto(ByVal ArrGotElements As Array As Boolean
End Interface
Public Class clsCostInventoryT Implements iCostInventory
Function updCostMaterialAbasto(ByVal ArrGotElements As Array) As Boolean Implements iCostInventory.updCostMaterialAbasto
VB6
Dim ArrGotElements(2) As String
ArrGotElements(0) = "11"
ArrGotElements(1) = " 410917"
ArrGotElements(2) = "JMXPMEXDT"
tablaSap = gnInterf.updCostMaterialAbasto(ArrGotElements) ERROR!!!!
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).