RTD服务器用C#RTD

2023-09-06 23:34:22 作者:3.意中人

我想建立一个C#应用程序,从源获取数据。需要此数据将被显示在Excel以及(按需)。做一些研究,我碰到的Excel实时数据服务器(RTD服务器)。所有资源展示如何创建一个一流的项目,添加一个类,并让它实现IRtdServer接口,使用regasm注册程序集,然后使用Excel来请求数据(= RTD(PROGID,,主题))      我已经得到了所有的工作,但我想要做的是能够反映作为主要来源的更新变化在Excel中。例如,可以说我这表明还显示网格用户在Excel中的数据。当用户更新在网格中的数据,我想了更新在Excel中显示,当我关闭应用程序,EXCEL被告知该服务器不再可用。

I am trying to build a c# app that gets data from a source. This data needs to be displayed in excel as well (on demand). Doing some research, I came across Excel Real Time Data Server (RTD Server). All resources show how to create a class project, Add a class and have it implement IRtdServer interface, register the assembly using regasm and then use excel to request data (=RTD("progId","","topic")) I have got all that working but what I want to do is being able to reflect changes in excel as the main source updates. For example, lets say that I'm showing data in excel that is also displayed on the grid to user. When user updates the data on grid, I want that update to be displayed in excel and when I close the application, excel gets informed that the server is no longer available.

感谢

推荐答案

您可以找到更多的信息.​​..

You can find more information...

How做我创建了一个实时的Excel自动加载使用RtdServer C#?