hi i&#039;m trying to call a dll and pass it variables but i keep getting the following error:<BR><BR>Microsoft VBScript runtime error &#039;800a000d&#039; <BR><BR>Type mismatch: &#039;GetInvoiceData&#039; <BR><BR>/Project6/ASP Page1.asp, line 20 <BR><BR>the code reads:<BR>&#060;% Dim drsObj, varWkOrderNo, varInvoiceNo, Success<BR> varWkOrderNo = "N01-0154"<BR> varInvoiceNo = "8888"<BR> Success = false<BR><BR>Set drsObj = Server.CreateObject ("DnPset.Erecset")<BR>drsObj.GetInvoiceData varWkOrderNo, varInvoiceNo, Success<BR>Response.Write Success<BR><BR>my problem is why am i getting type mismatched. Do i defined them somehow??? HELP<BR><BR><BR>