Re: Strange Outlook activation problem



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]" <kenslovak@xxxxxxxx> wrote in message
news:eAFeEREhIHA.1212@xxxxxxxxxxxxxxxxxxxxxxx
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
news:O7qdIQBhIHA.536@xxxxxxxxxxxxxxxxxxxxxxx
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




.



Relevant Pages

  • Small flaw in Outlook Express
    ... A small bug showed up casually in Outlook Express, localized italian ... This bug leads to incorrect visualization of a plain text e-mail ...
    (Bugtraq)
  • Re: Problem with Oultook Express Links
    ... Your problems with replying using the Web interface is not an Outlook ... You may be better off asking this in an Internet Explorer newsgroup. ... DDE should be checked and in the boxes below it you should have: ... Reset Web Settings - (uncheck box for homepage) - Click Yes. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Outlook over Internet
    ... connect using HTTP first" in the outlook on ... In the Microsoft Exchange Server dialog box, ... Exchange Proxy Settings window, then uncheck the "On fast networks, connect ... Select View or change existing e-mail accounts, ...
    (microsoft.public.windows.server.sbs)
  • Re: Outlook express blank body problem
    ... Read and uncheck Read All Messages in Plain Text. ... > I've been seeing a problem lately with outlook express and wanted to> know if anyone had found a suitable fix for it. ... You can see the text if you read in in plain text format,> save it as a text file, or print it out. ... The problem is not that the> body is blank, it's that outlook express will not display the text. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Importing contacts to beta Outlook from Outlook Express (Windows Mail)
    ... Outlook Express, uncheck all but the "Import Address Book" box, then click ... Select the duplication handling you want and browse to the CSV ... > Application data folder in Explore, I get the security warning that I ...
    (microsoft.public.outlook)