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: 1
Default ole timeout

Hello,

In c++, changing the ole timeout delay is achieved by the following code:

COleMessageFilter *m_ole_msg_filter;
m_ole_msg_filter=AfxOleGetMessageFilter();
m_ole_msg_filter-SetMessagePendingDelay(timeout);

where timeout beeing passed as parameter to SetMessagePendingDelay is the delay in ms.

By the way, I still didn't found how to implement this timeout in VBA... if somebody knows...

Best regards.

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
 
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
Ole timeout [email protected] Excel Programming 0 November 11th 08 12:28 PM
Idle timeout Jesse[_7_] Excel Programming 4 April 20th 06 04:08 PM
TImeIn-TimeOut-TimeIn-TimeOut-HoursWorked ChefBoiRD Excel Worksheet Functions 3 September 20th 05 10:01 AM
Timeout tcbootneck Excel Programming 1 July 15th 05 11:48 AM
Timeout problems DavidC[_2_] Excel Programming 2 August 19th 04 02:09 AM


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