can anyone point me to an example that show how to pass and/or return a class from a .NET class exposed as COM. The COM consumer would be a VBScript. Also, it is possible to pass an object from VBScript to a .NET-COM exposed method? For example
[ComVisible(true)]
public class A
{
public SomeClass MethodName(NameValueCollection param)
{
return new SomeClass();
}
}
How do you call MethodName in VBScript (ASP)
Thanks!
I don’t think NameValueCollection is marked as ComVisible, so I suspect no.