Inspector Behind Windows Taskbar Causes Taskbar Button Flicker

MS OFFICE OUTLOOK

    Next

  • 1. CreateItemFromTemplate
    Hello, I would like to create a new item using a template that is stored in the Organizational Forms Library (not in the user's file system). How do I specify this as the path for the CreateItemFromTemplate method of the Outlook.Application object? Thanks for your assistance, Jon
  • 2. "plaxo" like integration resources
    Hi, I am new to Outlook integration. Can you point me to resources which explains how to create "plaxo" like integration in outlook 2003 ? I need to add functional visual elements over emails, folders and other elements of outlook. Thanks, Gur
  • 3. C# or C++ versus VB6 for Add-In Development
    Hello, My Outlook Add-In, developed in VB6, works and is being sold commercially. I am considering my product roadmap. Since VB6 is deprecated by Microsoft, do you think new versions of Outlook two, three, and five years out will still support Add-Ins developed in VB6? Or should I plan to migrate to C++, C#, or VB.Net? When I began developing my Add-In 2.5 years ago, VB6 was recommended as the most stable and least complicated choice. I recall discussion of single installer support with VB6, which I have today, versus separate installers required for different Windows/Outlook versions with a non-VB6 implementation. Would you still choose VB6 today for a new Add-In implementation, or is it time to move to a different language? Is C# mature enough for commercial Add-In development? Will a non-VB6 choice still complicate deployment? What other issues should I consider? Thanks. Jim
  • 4. Problems with dictionary in German
    I notice that the German dictionary does not find obvious mistakes, for example if I use the VERB "wuensche" it will only give me the NOUN "Wuensche" and that is false. It is similar for other words, it then always want to correct it to the Noun with Umlaut, not the verb. Any experience by writers who also use German with Outlook 2000?

Inspector Behind Windows Taskbar Causes Taskbar Button Flicker

Postby jfathman » Sun, 20 Jul 2003 01:13:49 GMT

Hello,

I have written an Outlook Add-In using VB6.

At one point, I iterate through the Inbox (using the Outlook Object
Model, not CDO):

  For Each objItem In colInboxItems
    If objItem.Class = olMail Then
      : <do stuff>
    End If
    DoEvents
  Next objItem

It works.  But if I have an open Inspector, and part of the Inspector
is positioned behind the Win98 taskbar along the bottom of the screen,
the buttons on the Win98 taskbar flicker as the loop above executes.

All the buttons don't flicker.  The only taskbar buttons that flicker
are the particular ones that the Inspector is positioned behind.  If I
move the Inspector to the left or right, the button flicker follows
the Inspector.  If I move the Inspector up so it is no longer behind
the Win98 taskbar, the button flicker no longer occurs.

The flicker is very noticable when iterating through a large Inbox
containing hundreds or thousands of items.  I can't just remove
DoEvents from my loop, because that causes other problems.

Has anyone run into this?  Any suggestions for how to eliminate the
flicker?

All I can think of is to abandon using the Outlook Object Model and
use Extended MAPI in a separate thread that runs independently of the
Outlook execution context.  But I'd rather not go down that road
unless there is no other way.

Thanks.

Jim

Similar Threads:

1.Seperate Outlook taskbar button from opened email taskbar buttons

When you open Outlook, it gets a taskbar button.  When you open emails, those 
opened emails get grouped together with Outlook.  So if I have 10 open emails 
and finally decide to close things, right now I right-click the Outlook 
taskbar button, hit "Close Group", and then re-open Outlook.  

It would be better if the Outlook taskbar button was seperated from the 
emails opened, then I could just close the grouped emails without 
closing/reopening Outlook.

2.Taskbar "Group similar taskbar buttons"

I first thought that this was happening only to me and that it was related to 
my profile somehow being "damaged".  Now, since I've deployed Office 2003 to 
others, they are reporting the same problem.  The problem is this;
If you have the option selected to "Group similar taskbar buttons" and an 
app (let's say IE) has several groupings, sometimes (can't reproduce the 
problem) I can no longer access this grouping.  I click on the IE grouping in 
the taskbar and nothing happens.  I can maximize the other apps that have 
only one "instance", but every app that has a grouping doesn't expand.  I can 
Alt+Tab to get to these apps, but can't do it in the taskbar anymore.  I have 
to logoff and back on to get back to "normal".  Also, when I log back on, the 
QuickLaunch bar is deactivated and I have to go and re-activate it.  Any 
ideas?  Running Windows XP w/SP2 and Office 2003 w/SP2.

3.importprf causes Outlook icon on quick launch taskbar

"C:\Program Files\Microsoft Office\OFFICE11\Outlook.exe" /importprf 
"outlookxp03.prf" results in Outlook icon (shortcut) being placed in the 
Quick Lauch taskbar. Is there a way to prevent this from happening. The 
shortcut includes the /recycle switch.

4.Multiple OL Inbox in Win98 TaskBar Caused by VB olExp.Active

Sub Open_Only_1_Inbox_Not_Two_Or_More_In_Taskbar(
Dim lCount As Lon
Dim olApp As Outlook.Applicatio
Dim olNS As Outlook.NameSpac
Dim olFolder As Outlook.MAPIFolde
Dim olExp As Outlook.Explore
'TEST IF RUNNING & GET RUNNING OL OR NEW O
Set olApp = Nothing 'Var will change only if running
On Error Resume Next 'Err 429 if OL is not runnin
Set olApp = GetObject(, "Outlook.Application"
If olApp Is Nothing Then Set olApp = New Outlook.Applicatio
Set olNS = olApp.GetNamespace("MAPI"
Set olFolder = olNS.GetDefaultFolder(olFolderInbox
Set olExp = olFolder.GetExplore
olExp.Activate 'Makes visible. OL has no Visible property
End Su

I run this procedure from Excel 2000 Visual Basic and it is part of 
much larger email procedure.  The 1st run of this procedure result
in either one or two instances of OL Inbox in the Windows98 Task Bar
Each subsequent run of this procedure results in one more instances o
an OL Inbox in the Windows98 Taskbar. I want a test so one, but n
more than one instance of OL Inbox is in the Taskbar. I run thi
procedure from an Excel worksheet about five times when it is used

I need the line of code (LOC) "olExp.Activate" because sometime
Outlook is running with no instance of OL Inbox in the Taskbar.
The procudure has worked for about a year as is, but I have to clos
five of six extra instances of the OL Inbox in the Task Bar, which i
only a nuisance, not a critical error.  Thanks for any help you ca
give to have OL Inbox in the task bar only one time, not multipl
times

P.S. I have not learned what a poll question is yet. This is my firs
post here
Joh

5.Multiple taskbar buttons

I just upgraded to Office 2007, and all applications cause a strange behavior 
with regards to taskbar buttons. With Word for example, opening a document 
creates one button in the taskbar as expected, but every time I hover with 
the mouse over the Office button, two more blank (no doc name) Word buttons 
get created in the taskbar. I've opened as many as 15 this way, and they only 
disappear if I go to the taskbar and click on them. With Outlook, the 
bahaviour is slightly different. Clicking  "File" in the standard toolbar 
creates two new blank Outlook buttons in the taskbar. These are persistent 
and will only disappear if I close Outlook first and then click on them.

I run an up-to-date version of Windows XP. My colleagues have similar 
configurations but don't experience this problem.

Any suggestions? 

6. How do I change text in taskbar buttons?

7. Separate taskbar buttons for different documents

8. Where is my taskbar button for centering text?



Return to MS OFFICE OUTLOOK

 

Who is online

Users browsing this forum: No registered users and 93 guest