class does not support automation vbscript error

G

Guest

Hi all,
I posted this question this morning. Kindly pass on your
suggestions to me.

Hi all,
I have a VB script client that interoperates with my C#
class library. The VB script client calls the methods
exposed by an interface in the C# library. Things are
working ok except in one particular situation. when the VB
script client calls the C# method with any incorrect
arguments, the C# program is supposed to write customized
error messages to a trace log. Instead, I am seeing the
following VB script error message in the trace log. "Class
does not support automation."
Has anyone experienced this kind of problem before? Can
anyone help me fix this? Thanks a lot to all of you.
..
 
N

Nicholas Paldino [.NET/C# MVP]

Can you show the code that writes to the trace log? Also, when you say
that incorrect parameters are passed, do you mean that the number and type
passed are correct, but the values are different, or do you mean that the
number and type are incorrect? C# can not detect the latter condition.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top