rpathy1974
MIS
I'm calling a VB (DLL) component from a ASP page. I need to pass an array as input parameter to my Function in the VB component. But when I do this, I'm getting a "type mismatch" error. Can somebody tell me where i have gone wrong. I have also included my code below.
My ASP page...
*************
Dim myAdHocObj
Dim retVal
Dim frmSF_TblDtlsStrArr(1000, 2)
Dim frmSF_ColDtlsStrArr(1000, 1000, 1)
Set myAdHocObj = Nothing
Set myAdHocObj = Server.CreateObject("ebixAdhocRpt6.cls_Fetch_TblNCol_Dtls"
retVal = myAdHocObj.F_Fetch_TblNCol_Dtls(frmSF_TblDtlsStrArr, frmSF_ColDtlsStrArr)
My VB Component...
*****************
Public Function F_Fetch_TblNCol_Dtls(pTblDtlsStrArr, pColDtlsStrArr) As String
...
...
...
End Function
My ASP page...
*************
Dim myAdHocObj
Dim retVal
Dim frmSF_TblDtlsStrArr(1000, 2)
Dim frmSF_ColDtlsStrArr(1000, 1000, 1)
Set myAdHocObj = Nothing
Set myAdHocObj = Server.CreateObject("ebixAdhocRpt6.cls_Fetch_TblNCol_Dtls"
retVal = myAdHocObj.F_Fetch_TblNCol_Dtls(frmSF_TblDtlsStrArr, frmSF_ColDtlsStrArr)
My VB Component...
*****************
Public Function F_Fetch_TblNCol_Dtls(pTblDtlsStrArr, pColDtlsStrArr) As String
...
...
...
End Function