![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
I have written a com-addin with the Explorer framework based on Randy Byrnes ItemsCB Now have users experienced a strange bug: Steps to reproduce: 1) In Outlook they have a task list opened with a detailed list view with the Complete box visible. "Allow in-cell editing is checked and the "Show new item row" is unchecked. 2) One task in the list is selected and has the Complete box checked. 3) They align another application next to the Outlook window and activates this application. 4) Returns to Outlook and tries to uncheck the task directly *without* activating Outlook first. 5) This fails, and the Complete field remains checked, the "uncheck" fires first only when they click on the item second time. Sometimes a new blank tasktem is displayed when they ty to check the Complete field without activating Outlook first. This worked perfectly before they had the com-add in installed. I use the Explorer wraps in the code to hide/unhide a commandbar. I' ve tried to disable calls in the Explorer events to RefreshToolbar procedure, with no luck. Any ideas? The events are fired as follows when trying to uncheck it directly: ======================== m_objExpl_Activate m_objExpl_Activate m_objExpl_SelectionChanged m_objExpl_Activate m_objExpl_Activate m_objExpl_SelectionChanged m_objExpl_Activate m_objExpl_Activate Outlook 2003 English version SP3 Windows XP English version SP2 Rgds Ulrik |
#2
|
|||
|
|||
![]()
There have been a few versions of ItemsCB out there and no one can know how
you've modified the copy you used. You will have to see yourself what's happening and what your event handlers are doing. You can also try using a bare-bones addin that doesn't use wrapper classes and such to see how events are fired and what happens in that case and compare things to how they happen with your addin. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Ulrik" nospam wrote in message ... Hi, I have written a com-addin with the Explorer framework based on Randy Byrnes ItemsCB Now have users experienced a strange bug: Steps to reproduce: 1) In Outlook they have a task list opened with a detailed list view with the Complete box visible. "Allow in-cell editing is checked and the "Show new item row" is unchecked. 2) One task in the list is selected and has the Complete box checked. 3) They align another application next to the Outlook window and activates this application. 4) Returns to Outlook and tries to uncheck the task directly *without* activating Outlook first. 5) This fails, and the Complete field remains checked, the "uncheck" fires first only when they click on the item second time. Sometimes a new blank tasktem is displayed when they ty to check the Complete field without activating Outlook first. This worked perfectly before they had the com-add in installed. I use the Explorer wraps in the code to hide/unhide a commandbar. I' ve tried to disable calls in the Explorer events to RefreshToolbar procedure, with no luck. Any ideas? The events are fired as follows when trying to uncheck it directly: ======================== m_objExpl_Activate m_objExpl_Activate m_objExpl_SelectionChanged m_objExpl_Activate m_objExpl_Activate m_objExpl_SelectionChanged m_objExpl_Activate m_objExpl_Activate Outlook 2003 English version SP3 Windows XP English version SP2 Rgds Ulrik |
#3
|
|||
|
|||
![]()
Thanks for your answer
I have found the bug: The bug was caused by a DoEvents in the following event which caused the bug. After removing the DoEvents it works perfectly. :-) Private Sub m_objExpl_Activate() On Error Resume Next DoEvents Call RefreshToolbar(m_objExpl.CurrentFolder) End Sub Rgds Ulrik "Ken Slovak - [MVP - Outlook]" wrote in message ... There have been a few versions of ItemsCB out there and no one can know how you've modified the copy you used. You will have to see yourself what's happening and what your event handlers are doing. You can also try using a bare-bones addin that doesn't use wrapper classes and such to see how events are fired and what happens in that case and compare things to how they happen with your addin. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Ulrik" nospam wrote in message ... Hi, I have written a com-addin with the Explorer framework based on Randy Byrnes ItemsCB Now have users experienced a strange bug: Steps to reproduce: 1) In Outlook they have a task list opened with a detailed list view with the Complete box visible. "Allow in-cell editing is checked and the "Show new item row" is unchecked. 2) One task in the list is selected and has the Complete box checked. 3) They align another application next to the Outlook window and activates this application. 4) Returns to Outlook and tries to uncheck the task directly *without* activating Outlook first. 5) This fails, and the Complete field remains checked, the "uncheck" fires first only when they click on the item second time. Sometimes a new blank tasktem is displayed when they ty to check the Complete field without activating Outlook first. This worked perfectly before they had the com-add in installed. I use the Explorer wraps in the code to hide/unhide a commandbar. I' ve tried to disable calls in the Explorer events to RefreshToolbar procedure, with no luck. Any ideas? The events are fired as follows when trying to uncheck it directly: ======================== m_objExpl_Activate m_objExpl_Activate m_objExpl_SelectionChanged m_objExpl_Activate m_objExpl_Activate m_objExpl_SelectionChanged m_objExpl_Activate m_objExpl_Activate Outlook 2003 English version SP3 Windows XP English version SP2 Rgds Ulrik |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange problem with Outlook 2003. | Michael | Outlook - General Queries | 4 | May 18th 07 04:26 AM |
Strange Problem with Outlook 2003 | remith | Outlook - Installation | 0 | April 13th 07 08:30 AM |
Strange problem with Outlook 2007 | matt | Outlook - Installation | 0 | April 10th 07 11:13 PM |
Strange problem with Outlook & Windows XP | Justa Lurker | Outlook - General Queries | 0 | January 13th 07 03:06 AM |
Very strange problem with Outlook folders | mgaines | Outlook - General Queries | 3 | November 16th 06 06:59 AM |