Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default c# RTD Server, IRTDUpdate Object

I'm trying to implement a RTDServer for Excel in C#. How can I cause
Excel to update my data?
I tried to call the UpdateNotify function on the IRTDUpdateEvent
Object, but nothing happened.The reference to the IRTDUpdateEvent does
not work. I can't even change the HeartbeatInterval. The
Microsoft.Office.Interop.Excel.IRtdServer.RefreshD ata function is never
called. ServerStart, ConnectData, DisconnectData, ServerTerminate are
properly called by Excel.
Is there something wrong with the reference to the IRTDUpdateEvent
object?

int
Microsoft.Office.Interop.Excel.IRtdServer.ServerSt art(Microsoft.Office.Interop.Excel.IRTDUpdateEvent
CallbackObject)
{
// GUI to show debug messages
output.write("ServerStart | " +
CallbackObject.HeartbeatInterval);

//Hold a reference to the callback object.
update_event = CallbackObject;

// does not work!
update_event.HeartbeatInterval = 500;
// HeartbeatInterval is still 15000

output.write(" update_event HeartbeatIntervalll: " +
update_event.HeartbeatInterval);

return 1; //SUCCESS
}


It seems that I cannot access the IRTDUpdateEvent.
Any ideas?

Thanks

Heribert

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
Close Excel server after activating OLE object Goofball Excel Discussion (Misc queries) 1 March 13th 08 05:32 PM
Creating Worksheet Using Server Object Olivia Towery Excel Worksheet Functions 0 September 6th 05 06:00 PM
Creating Worksheet using Server Object Olivia Towery Excel Worksheet Functions 0 September 6th 05 05:28 PM
Excel Server Object won't overwrite Olivia Towery Excel Worksheet Functions 2 May 21st 05 08:29 PM
Creating Worksheet using Server Object Olivia Towery Excel Worksheet Functions 1 May 17th 05 06:12 PM


All times are GMT +1. The time now is 01:33 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"