Forum Moderators: open
I'm having a problem with an application. We've written some com objects for authenication in VB.NET, and are accessing the dll with ASP (VBScript 6).
I can access some of the object's properties with no problem; namely those that return string data. But whenever I try to access a property that returns an array, I get an error message that says, "Class doesn't support Automation" and then displays the property name.
Any idea what I'm missing or doing wrong? Any feedback appreciated.
-Moz
Thanks for the insight. We got it figured out.
The properties are typed as arrays, which the vbscript was choking on. So we created functions in the class that accept the the strongly typed arrays from the properties and then return them as objects, which vbscipt can understand, cuz they see objects as variants. Now I can get the data out of them in the vbscript.
Anyway, just thought I'd post this, in case anyone else runs up against the same issue. :)
Thanx again.
-Moz