Hey Guys,
Actually Now I created a COM dll using VS2010 and its working fine. I can create instance of that object from VBScript and JavaScript as well.
Now I am on the way to other problem?
In my VB code, function is returning an 2D array. I have to access this in JavaScript like
var obj = new ActiveXObject("MyProgID")
var values = obj.function1()
So function1 returns a String()() array. While executing my JavaScript code, it throws error. Not assigning to variant values.
How I can do this?
Am i want to convert my VBArray to JavaScript array and then return?
OR
Am i want to type cast the returning array in my JavaScript code before assigning?
Can you help me how to do this?