Posted By:
Shanmugavel_C
Posted On:
Tuesday, June 28, 2011 09:37 AM
Hi all, I have problem in accessing JavaScript Object returned from my DLL(written in VB). var obj = new ActiveXObject("MyProgID"); var tab = obj.function1(); Here tab having an object returned from my custom DLL. From DLL, function returns as 2D Object. But I can't access the values here. But in IDE, if I view the data, it shows like tab -- {...} after that I drilled down into this, tab.(0) -- {...} after that I drilled down into this, tab.(0).(0) -- some value stored. But if I try, in code Its not giving the values. even no length property or count. I tried above ways and also like Associative arrays... Have attached the screenshot...
More>>
Hi all,
I have problem in accessing JavaScript Object returned from my DLL(written in VB).
var obj = new ActiveXObject("MyProgID");
var tab = obj.function1();
Here tab having an object returned from my custom DLL. From DLL, function returns as 2D Object. But I can't access the values here.
But in IDE, if I view the data, it shows like
tab -- {...}
after that I drilled down into this,
tab.(0) -- {...}
after that I drilled down into this,
tab.(0).(0) -- some value stored.
But if I try, in code Its not giving the values. even no length property or count. I tried above ways and also like Associative arrays...
Have attached the screenshot...
Can you help me on this?
What type I have to return from my VB written custom COM DLL??
OR Any other things, I have to do in my JavaScript?
Thanks,
Shanmugavael.C
<<Less