RTD服务器用C# [英] RTD Server with c#

查看:913
本文介绍了RTD服务器用C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立一个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...

<一个href="http://stackoverflow.com/questions/5397607/how-do-i-create-a-real-time-excel-automation-add-in-in-c-using-rtdserver">How做我创建了一个实时的Excel自动加载使用RtdServer C#?

这篇关于RTD服务器用C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆