LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default RTD UpdateNotify()

Hello,

I wrote an RTD server that calls IRTDUpdateEvent.UpdateNotify() once every
time my server receives an update from my data provider. If have found
that, in certain circumstances, Excel will never call RefreshData() even
after serveral calls to UpdateNotify(). To resolve this, I made another
thread that, upon receiving new data, will call UpdateNotify() every .1
seconds until Excel calls RefreshData(). My question is this: Does one call
to UpdateNotify() neccessarily mean that Excel will call RefreshData(), or
is it possible for Excel to ignore (and forget about) some UpdateNotify()
calls.

Also, my solution seems to work well, but I am a little leery of introducing
another thread with all of this COM running around-- does anyone know the
'best practice' for calling UpdateNotify()?

Thanks in advance,

Ken Rangel


 
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



All times are GMT +1. The time now is 06:01 PM.

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

About Us

"It's about Microsoft Excel"