Try using a CString as the parameter. CStrings are converted to BSTR (an automation type) in the .odl file of an ActiveX control. Visual Basic should know how to handle a BSTR.