PDA

Click to See Complete Forum and Search --> : Returning an array from ActiveX Function to Client script


ssampath2004
Jun 7th, 2007, 04:01 AM
Hi,

I am writing a function in the ActiveX control for returning a String Array.
This works fine when I am calling the ActiveX function from a VB App.
But when I am calling the function from a Javascript functin in the web page, it is showing "Type mismatch" error.
:)
I would like to know whether we can return an array from an ActiveX function. How to handle the returned array in Javascript and VBScript ?
Your help would be very much appreciated.

Regards,
S.Sampath