Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,388
Default RTD update problem with Excel 2007 when Excel is not the active ap

Have a RTD server DLL (C++, DevStudio 2003). Works fine with Excel 2002 and
2003. On Excel 2007, however, if the excel does no have focus, update
interval is like a minute. If Excel has focus, it updates fine.

Any idea?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default RTD update problem with Excel 2007 when Excel is not the active ap

That sounds like it's by design so probably out of your hands. Although if
anyone wants to prove me wrong then they're very welcome!

"Dave" wrote:

Have a RTD server DLL (C++, DevStudio 2003). Works fine with Excel 2002 and
2003. On Excel 2007, however, if the excel does no have focus, update
interval is like a minute. If Excel has focus, it updates fine.

Any idea?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default RTD update problem with Excel 2007 when Excel is not the activ

We are using RTD with Excel 2007 and haven't experienced that problem. As I'm
writing this I have a spreadsheet with links to real-time stock data running
behind this window and it's getting updated continuously. I can't think of
what would cause that behavior. Could you put in some debugging code to see
if Excel is calling the RefreshData method of your RTD server?

We are having a different problem. If we open a second workbook in an
existing instance of Excel with links to the same data referenced in the
first workbook, the cells in the second workbook retain the values from the
last time the workbook was saved. Excel is supposed to update the cells
containing those links when the workbook is opened. It works fine in Excel
2002/2003. We've set all the options we can find to allow macros/update links
automatically/etc. Have you noticed this?

"James Snell" wrote:

That sounds like it's by design so probably out of your hands. Although if
anyone wants to prove me wrong then they're very welcome!

"Dave" wrote:

Have a RTD server DLL (C++, DevStudio 2003). Works fine with Excel 2002 and
2003. On Excel 2007, however, if the excel does no have focus, update
interval is like a minute. If Excel has focus, it updates fine.

Any idea?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,388
Default RTD update problem with Excel 2007 when Excel is not the activ

Thanks for the info. What is your throttleInterval setting? In my case, if
I have it set to < 1000 (say 100), I will notice the problem right away. If
it is 1000 or above, it happens much less but still happen if the computer is
busy doing things.

I made a copy of the same file and opened it. Looks like I do have the same
issue you discribed. The second book displays the saved value. However, it
does update if there is an update.

"Rich Wood" wrote:

We are using RTD with Excel 2007 and haven't experienced that problem. As I'm
writing this I have a spreadsheet with links to real-time stock data running
behind this window and it's getting updated continuously. I can't think of
what would cause that behavior. Could you put in some debugging code to see
if Excel is calling the RefreshData method of your RTD server?

We are having a different problem. If we open a second workbook in an
existing instance of Excel with links to the same data referenced in the
first workbook, the cells in the second workbook retain the values from the
last time the workbook was saved. Excel is supposed to update the cells
containing those links when the workbook is opened. It works fine in Excel
2002/2003. We've set all the options we can find to allow macros/update links
automatically/etc. Have you noticed this?

"James Snell" wrote:

That sounds like it's by design so probably out of your hands. Although if
anyone wants to prove me wrong then they're very welcome!

"Dave" wrote:

Have a RTD server DLL (C++, DevStudio 2003). Works fine with Excel 2002 and
2003. On Excel 2007, however, if the excel does no have focus, update
interval is like a minute. If Excel has focus, it updates fine.

Any idea?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,388
Default RTD update problem with Excel 2007 when Excel is not the activ

I resolved my problem. Originally, I only call UpdateNotify() once to
inform Excel there is new updates until a RefreshData call from Excel. Now I
call UpdateNotify() whenever I have an update and that resolved the probelm.
When Excel does not have focus, somehow Excel 2007 ignores some
UpdateNotify() call? Microsoft folks, if you monitor newsgroup, would
appreciate your input.

"Dave" wrote:

Thanks for the info. What is your throttleInterval setting? In my case, if
I have it set to < 1000 (say 100), I will notice the problem right away. If
it is 1000 or above, it happens much less but still happen if the computer is
busy doing things.

I made a copy of the same file and opened it. Looks like I do have the same
issue you discribed. The second book displays the saved value. However, it
does update if there is an update.

"Rich Wood" wrote:

We are using RTD with Excel 2007 and haven't experienced that problem. As I'm
writing this I have a spreadsheet with links to real-time stock data running
behind this window and it's getting updated continuously. I can't think of
what would cause that behavior. Could you put in some debugging code to see
if Excel is calling the RefreshData method of your RTD server?

We are having a different problem. If we open a second workbook in an
existing instance of Excel with links to the same data referenced in the
first workbook, the cells in the second workbook retain the values from the
last time the workbook was saved. Excel is supposed to update the cells
containing those links when the workbook is opened. It works fine in Excel
2002/2003. We've set all the options we can find to allow macros/update links
automatically/etc. Have you noticed this?

"James Snell" wrote:

That sounds like it's by design so probably out of your hands. Although if
anyone wants to prove me wrong then they're very welcome!

"Dave" wrote:

Have a RTD server DLL (C++, DevStudio 2003). Works fine with Excel 2002 and
2003. On Excel 2007, however, if the excel does no have focus, update
interval is like a minute. If Excel has focus, it updates fine.

Any idea?

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
My Subtotal is not Active excel 2007 Diggsy Excel Discussion (Misc queries) 0 June 9th 08 05:13 PM
Excel 2007 - Text Box (Active X) title tkwaste Excel Discussion (Misc queries) 0 October 9th 07 03:32 PM
Display of Active Cell in MS Excel 2007 Jasper Excel Discussion (Misc queries) 1 March 28th 07 08:36 PM
Excel 2007 (Trial) Active X Problems Don Excel Discussion (Misc queries) 0 December 15th 06 11:06 PM
Excel 2003 - Update or Don't Update Links Problem Jamie Excel Programming 4 July 7th 05 02:08 PM


All times are GMT +1. The time now is 06:11 AM.

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"