Can't access JavaScript Object returned from COM DLL(VB)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

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

Re: Can't access JavaScript Object returned from COM DLL(VB)

Posted By:   Mary_Smith  
Posted On:   Wednesday, July 6, 2011 12:25 PM

Try to reinstall windows!!!

______________________________________
http://www.linguarde.com/es/
About | Sitemap | Contact