I am using the Data Analysis Active X Control in VB 6.0 to do Multiple Linear Regression. I have two arrays of doubles defined in my code which I fill with the data I want analyzed, but when I use the SetIVMatrix and SetDVVector methods I get a type mismatch error. Has anyone successfully accomplished this in VB 6.0?