Hello,<BR>Could anyone please tell me how to pass the values of array in ASP to a DLL in VB. Following is my code. When I view ASP page, I am getting an error ---Type Mismatch.<BR><BR>Any help would be greatly appreciated. Thanks a lot.<BR><BR><BR>This is my VB Code<BR>---------------------------------------------------------------<BR><BR>Public Function GetArray(MyArray() As Integer, ParamArray params() As Variant) As Boolean<BR><BR> If MyArray(0) = 0 And MyArray(1) = 1 And MyArray(2) = 2 And params(0) = "Dilip " And _<BR> params(1) = "Kumar" Then<BR> GetArray = True<BR> Else<BR> GetArray = False<BR> End If<BR> <BR>End Function<BR><BR>__________________________________ _______<BR>ASP CODE<BR>__________________________________________ <BR><BR>&#060;%<BR>Dim X(3)<BR> X(0)=0<BR> X(1)=1<BR> X(2)=2<BR> Dim foundArray<BR> Dim objArray <BR> Set objArray=server.CreateObject("ProA.clsA")<BR> foundArray=objArray.GetArray(X,"Dilip","Kumar")<BR > If foundArray=true then<BR> Response.Write "True"<BR> else<BR> Response.Write "False"<BR> End if <BR>%&#062;