
Pass array from ASP to VB ActiveX DLL
What is the proper syntax in both ASP and VB (ActiveX DLL) for 2 empty
arrays to be passed from ASP to VB, have them redimmed and then filled
with strings in the ActiveX DLL, then passed back to ASP?
In ASP I get this error
Type mismatch: 'Obj.Class1'
when make this call by using 2 as of yet undeclared/unused arrays
Obj.Class array1, array2
and in VB I have
Public Sub Class1(array1() As Variant, array2() As Variant)
ReDim array1(2)
ReDim array2(2)
array1(0) = "Text1"
array1(1) = "Text2"
array2(0) = "Text3"
array2(1) = "Text4"
End Sub
The DLL is successfully registered.
Thank you
Kyle
Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.