Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 Tools for Windows
 ActiveX Controls
 SetDVVector and SetIVMatrix for MulReg.ocx
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


1 Posts

Posted - 12 Jul 2005 :  12:00:56  Show Profile  Reply with Quote
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?


1534 Posts

Posted - 12 Jul 2005 :  18:52:43  Show Profile  Reply with Quote
VB property vs subroutine call.

The method is a subroutine call that does not return a value and needs a CALL statement in front of it.

' this dimensions the array for 10 elements (0..9)
Dim rDepVar(9) As Double

' pass in the first element of the array
Call MulReg1.SetDVVector(rDepVar(0))
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07