Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Ole timeout | Excel Programming | |||
Idle timeout | Excel Programming | |||
TImeIn-TimeOut-TimeIn-TimeOut-HoursWorked | Excel Worksheet Functions | |||
Timeout | Excel Programming | |||
Timeout problems | Excel Programming |