
Signature
Jan Eliasen, representing himself and not the company he works for.
> Hi
>
[quoted text clipped - 17 lines]
>
> I have written "[ClassInterface(ClassInterfaceType.AutoDispatch)]"
It is better and recommended in MSDN that you should not use AutoDispatch
but I doubt this is the cause.
> just above the class statement
>
[quoted text clipped - 15 lines]
> method, ie:
> obj.ReceiveDataAndSendItToAxaptaASync (str)
Can you post the exact signature of this? Does your COM component uses other
.Net Assemblies?
> This IS the correct name of the method, and it takes a string as a
> parameter. The error I receive is "Object doesn't support this
[quoted text clipped - 3 lines]
>
> Help?
Jan Eliasen - 21 Sep 2005 14:20 GMT
>> I have written "[ClassInterface(ClassInterfaceType.AutoDispatch)]"
>It is better and recommended in MSDN that you should not use AutoDispatch
>but I doubt this is the cause.
Should I remove the line or replace it with something else?
>> In my VBA code in the Visio Macro, I have a line called this:
>> Set obj =
[quoted text clipped - 6 lines]
>Can you post the exact signature of this? Does your COM component uses other
>.Net Assemblies?
The signature is this:
public static void ReceiveDataAndSendItToAxaptaASync(string xml)
The method takes the string, loads it into an XMLDocument. Then the
content of one of the nodes in the xml is written to a file on the
c-drive.

Signature
Jan Eliasen, representing himself and not the company he works for.
Jan Eliasen - 21 Sep 2005 14:56 GMT
>Can you post the exact signature of this? Does your COM component uses other
>.Net Assemblies?
Hi
I have it working now.
I removed the "[ClassInterface(ClassInterfaceType.AutoDispatch)]" as
you told me, and I changed the methods from being static to being
"normal" - now it works.
Thanks for your time.

Signature
Jan Eliasen, representing himself and not the company he works for.
Hi Jan,
does your class library have a parametrized constructor ? If yes, try using
a constructor with no parameters and see if it works.
> Hi
>
[quoted text clipped - 44 lines]
>
> Help?
Jan Eliasen - 27 Sep 2005 10:06 GMT
>does your class library have a parametrized constructor ? If yes, try using
>a constructor with no parameters and see if it works.
Hi
No, it doesn't. But I solved the problem in another way, as you can
see previous in this thread.
Thanks, though :-)

Signature
Jan Eliasen, representing himself and not the company he works for.