[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

MsWord VBA Client To Com Server To .Net Remoting - UnFamiliarType err

sf_astan

7/17/2004 6:27:00 PM

Hi,

we have Ms Word XP,
we have to automate word to start a C# application.

we coded a C# dll as a COM server and the COM Server calls to the server
application .Net written with remoting over tcp.
we managed to do that and it works great until we are returning from the tcp
server our searilized object.
we succeedded returnng that specific object to a standard C# remoting
client,

but I DON'T KNOW WHY IT DOESN'T WORK WHEN RETURNING THE OBJECT TO C# COM
SERVER,
I WANT TO EMPHASIZE IT ISN'T RETURNED TO THE VBA, BUT ONLY TO THE C# COM
SERVER.

I get an error at vba that the type (of the searilized object) isn't
familiar.

PLEASE,
HELP ME.

Yariv
1 Answer

Sunny

7/19/2004 2:49:00 PM

0

Try to capture AppDomain.AssemblyResolve event. Most probably it can not
find the assembly needed. In the event handler you can load the assembly
from a known location.

Sunny


In article <d6886218.0407171026.8b28cc@posting.google.com>,
sf_astan@bezeqint.net says...
> Hi,
>
> we have Ms Word XP,
> we have to automate word to start a C# application.
>
> we coded a C# dll as a COM server and the COM Server calls to the server
> application .Net written with remoting over tcp.
> we managed to do that and it works great until we are returning from the tcp
> server our searilized object.
> we succeedded returnng that specific object to a standard C# remoting
> client,
>
> but I DON'T KNOW WHY IT DOESN'T WORK WHEN RETURNING THE OBJECT TO C# COM
> SERVER,
> I WANT TO EMPHASIZE IT ISN'T RETURNED TO THE VBA, BUT ONLY TO THE C# COM
> SERVER.
>
> I get an error at vba that the type (of the searilized object) isn't
> familiar.
>
> PLEASE,
> HELP ME.
>
> Yariv
>