Refresh Screen in Outlook

N

nw65

i have developed a com add-in for outlook 2k3 in vb.net that allows a user to
select multiple tasks and change the date for all at the same time. it works
well. unfortunately after several uses within the same session the task list
becomes illegible. pieces of items that have been moved based on date appear
with the items that currently reside in the list in a jumbled mess. i found
that if a user switches to a different folder (mail) and then back to the
tasks, the list is fine. is there a command that i can use after each task
date change that will refresh the task view screen?
 
J

Jon Ebersole

Have you tried using the Explorer.Activate or Inspector.Activate methods yet?
I have found that same issues sometimes if Outlook isn't the last active
application. One of my other programs running becomes the active
application, and although my Outlook Window is visible on my second monitor,
it doesn't refresh until I select it as the foremost application.

Also, you should check to see if you can just click on the section you are
currently in. Example, you are in the task view and you select your 3 tasks
you want to change and your screen messes up, so instead of switching to
calendar and back to tasks, will just selecting the tasks refresh the screen?
If so, you might be able to just set the Application's window to Task View
which may auto-refresh by itself.
 
N

nw65

with outlook 11 there is a poperty object "CurrentView". i set to reapply
itself after the routine runs and it looks like that solved it. thanks for
the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top