![]() |
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 |
ole timeout
On Jan 7, 11:23*am, Jean-Daniel Perroset wrote:
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); By the way, I still didn't found how to implement this timeout in VBA... if somebody knows... Almost the same way: Look in your c++ header files for function declaration, and copy API calls into VB code, like Declare Function MyExternalProcedure Lib "hostlib.dll" Alias "ExternalFunctionName" (parameters) As Result |
All times are GMT +1. The time now is 03:02 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com