Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to implement an iRtdServer?

Hi,


I wish to add an RTD server for Excel to an existing C++ application (using
Visual Studio 6). So far I have figured out that I need COM, and the
iRtdServer class. I think I have more or less figured out the COM thing, but
I still need the elusive iRtdServer class. I would appreciate it if someone
could help me with some pointers on where to find the class, or perhaps even
a (C++) code example showing how to implement the entire server.


Thanks in advance,

Hans Guijt



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default How to implement an iRtdServer?

This article may assist:

Building a Real-Time Data Server in Excel 2002
http://msdn.microsoft.com/library/de...xlrtdbuild.asp


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Hans Guijt" wrote in message
. nl...
Hi,


I wish to add an RTD server for Excel to an existing C++ application
(using
Visual Studio 6). So far I have figured out that I need COM, and the
iRtdServer class. I think I have more or less figured out the COM thing,
but
I still need the elusive iRtdServer class. I would appreciate it if
someone
could help me with some pointers on where to find the class, or perhaps
even
a (C++) code example showing how to implement the entire server.


Thanks in advance,

Hans Guijt





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to implement an iRtdServer?

Hi Rob,


Thanks for the response. I had already read that article, but it still
leaves me with a number of questions, the most important of which is "where
do I find the C++ definition for the iRtdServer class"?

As I understand it, I must inherit my own class from that class, and add the
functionality that I need to ConnectData(), DisconnectData()., etc. If new
data arrives in my application I can call RefreshData() to cause Excel to
update its window.

As I said, I haven't actually done anything with COM before, so I'm not
entirely sure how to proceed.


Regards,

Hans Guijt


"Rob van Gelder" wrote in message
...
This article may assist:

Building a Real-Time Data Server in Excel 2002

http://msdn.microsoft.com/library/de...xlrtdbuild.asp


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Hans Guijt" wrote in message
. nl...
Hi,


I wish to add an RTD server for Excel to an existing C++ application
(using
Visual Studio 6). So far I have figured out that I need COM, and the
iRtdServer class. I think I have more or less figured out the COM thing,
but
I still need the elusive iRtdServer class. I would appreciate it if
someone
could help me with some pointers on where to find the class, or perhaps
even
a (C++) code example showing how to implement the entire server.


Thanks in advance,

Hans Guijt







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default How to implement an iRtdServer?

Maybe this MS KB article will assist

http://support.microsoft.com/?id=327215


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Hans Guijt" wrote in message
. nl...
Hi Rob,


Thanks for the response. I had already read that article, but it still
leaves me with a number of questions, the most important of which is
"where
do I find the C++ definition for the iRtdServer class"?

As I understand it, I must inherit my own class from that class, and add
the
functionality that I need to ConnectData(), DisconnectData()., etc. If new
data arrives in my application I can call RefreshData() to cause Excel to
update its window.

As I said, I haven't actually done anything with COM before, so I'm not
entirely sure how to proceed.


Regards,

Hans Guijt


"Rob van Gelder" wrote in message
...
This article may assist:

Building a Real-Time Data Server in Excel 2002

http://msdn.microsoft.com/library/de...xlrtdbuild.asp


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Hans Guijt" wrote in message
. nl...
Hi,


I wish to add an RTD server for Excel to an existing C++ application
(using
Visual Studio 6). So far I have figured out that I need COM, and the
iRtdServer class. I think I have more or less figured out the COM
thing,
but
I still need the elusive iRtdServer class. I would appreciate it if
someone
could help me with some pointers on where to find the class, or perhaps
even
a (C++) code example showing how to implement the entire server.


Thanks in advance,

Hans Guijt









  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How to implement an iRtdServer?

Hi Hans,

"where do I find the C++ definition for the iRtdServer class"?


IRTDServer is an interface which you have to implement in your application.
It is part of the excel objectlibrary. You can use the oleview-tool from
Microsoft for finding it.


As I said, I haven't actually done anything with COM before ...


If you have no experience with COM it will be a hard job ;-)
There is example-project (using no ATL) in the knowledgebase. You will find
the download in kb327215.

There are several ways for creating the rtd-server. If it's possible for
you, choose the VisualBasic6- or dotnet-way (is much easier).

--
Regards
Thomas

http://rtsoftwaredevelopment.de


"Hans Guijt" schrieb im Newsbeitrag
. nl...
Hi Rob,


Thanks for the response. I had already read that article, but it still
leaves me with a number of questions, the most important of which is

"where
do I find the C++ definition for the iRtdServer class"?

As I understand it, I must inherit my own class from that class, and add

the
functionality that I need to ConnectData(), DisconnectData()., etc. If new
data arrives in my application I can call RefreshData() to cause Excel to
update its window.

As I said, I haven't actually done anything with COM before, so I'm not
entirely sure how to proceed.


Regards,

Hans Guijt


"Rob van Gelder" wrote in message
...
This article may assist:

Building a Real-Time Data Server in Excel 2002


http://msdn.microsoft.com/library/de...us/dnexcl2k2/h
tml/odc_xlrtdbuild.asp


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Hans Guijt" wrote in message
. nl...
Hi,


I wish to add an RTD server for Excel to an existing C++ application
(using
Visual Studio 6). So far I have figured out that I need COM, and the
iRtdServer class. I think I have more or less figured out the COM

thing,
but
I still need the elusive iRtdServer class. I would appreciate it if
someone
could help me with some pointers on where to find the class, or

perhaps
even
a (C++) code example showing how to implement the entire server.


Thanks in advance,

Hans Guijt











Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to implement xbrl mariano Excel Discussion (Misc queries) 0 January 18th 06 02:00 PM
How would I implement this cell increment? Kia Excel Discussion (Misc queries) 3 January 4th 06 12:11 AM
Better Way To Implement Indirect IF Function? BJ Excel Discussion (Misc queries) 8 June 9th 05 02:59 AM
Implement CSE function through VBA with parameters Bastanu Excel Worksheet Functions 2 March 18th 05 02:11 AM
Is there a way to implement more than 3 conditional formats CArol Excel Worksheet Functions 3 March 11th 05 10:56 AM


All times are GMT +1. The time now is 03:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"