I am using .net remoting for inter-process communication between two processes on the same machine
1. The first process is one of the Office application: Ecxel /
Word / PP
2. The other process is another application that interacts with one of the above. For that it needs office application object. For example: Excel
The solution is comprised with 3 projects:
The remote object is a simple Called RemoteOfficeApplication
– that simply wraps the required application object (Word / Excel / PP).
The Server is a simple Office add-in, written with a Visual Studio Extensibility -> Shared project.
This add-in is instantiated whenever Excel is lunched.
This project reference project #1.
var channel = new TcpChannel (5003);
typeof (RemoteOfficeApplication.RemoteOfficeApplication ),
The Client is the process that requires the application object. This project also reference project #1.
//Get Remote object proxy
object remoteAppObject =
//Cast the proxy
View Complete Post